Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-15138

User object is undefined in extensions metadata manager

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 3.3, 3.2.0
    • Fix Version/s: None
    • Component/s: ACP, Extensions
    • Labels:
      None

      Description

      The User service dependency is absent in /phpbb/extension/metadata_manager.php while it's called in several places to translate exception messages:
      https://github.com/phpbb/phpbb/blob/3.2.x/phpBB/phpbb/extension/metadata_manager.php#L281
      https://github.com/phpbb/phpbb/blob/3.2.x/phpBB/phpbb/extension/metadata_manager.php#L314

      Also, it seems that the Language object should be used instead.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rxu rxu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: