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

Debug error when clicking Re-check all versions on ACP manage extensions page

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.2-RC1
    • Component/s: ACP, Extensions
    • Labels:
      None

      Description

      Support topic: https://www.phpbb.com/community/viewtopic.php?f=466&t=2268681

      If some extension versioncheck json file doesn't contain announcement entry, rechecking versions throws debug error like

      [phpBB Debug] PHP Notice: in file [ROOT]/phpbb/version_helper.php on line 274: Undefined index: announcement

      This is due to the /phpbb/version_helper.php code doesn't validate the announcement entry for existance:

      			// Replace & with & on announcement links
      			foreach ($info as $stability => $branches)
      			{
      				foreach ($branches as $branch => $branch_data)
      				{
      					$info[$stability][$branch]['announcement'] = str_replace('&', '&', $branch_data['announcement']);
      				}
      			}

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: