Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1516

Do not use "Web Request" and "Session" concepts in CLI

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Needs Changes
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.3.0
    • Component/s: Other
    • Change Log Group:
      Changed
    • Change Log Message:
      Methods for accessing Web Request and Session from CLI would throw an exception.
    • Story Points:
      2
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Plan

      1. create the ConsoleApplication class, that would sub-class kApplication class
      2. when in CLI mode the kApplication::Instance() method would create ConsoleApplication class
      3. in the ConsoleApplication class override methods that doesn't make sense in CLI to throw an exception or do relevant activity instead of accessing web request or session data

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Gleb Sinkovskiy [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: