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

Don't detect IP address during CLI requests

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.2.1-B1
    • Fix Version/s: 5.2.1-B2
    • Component/s: Data Management
    • Labels:
      None
    • Additional information:
      Hide

      Fact, that session is created when In-Portal is used from CLI is matter of another task and won't be fixed as part of this task.

      Show
      Fact, that session is created when In-Portal is used from CLI is matter of another task and won't be fixed as part of this task.
    • Change Log Group:
      Changed
    • Change Log Message:
      The IP address detection code returns empty string, when used from CLI (before was returning null).
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      When In-Portal is used from command-line (e.g. run_event.php script) IP address is detected as NULL resulting in SQL error during session creation.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: