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

User object is undefined in extensions metadata manager

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Duplicate
    • 3.3, 3.2.0
    • None
    • ACP, Extensions
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: