Issue Bug Closed

#93082EM does not show outdated versions

Thomas Löffler 12/15/20, 14:52 updated 07/09/24, 12:45

Description

Information about review_state

The field review_state was initially made to set insecure and reviewed extension versions.
Years ago a third state was added, the “outdated” version. This means that this version does not support one of the current supported TYPO3 versions (actually v9 and v10).

States:
  • -1 means insecure
  • -2 means outdated

Problem

Since the rebuilt of the extension index xml file (which EM uses to fetch all extensions) we provided the outdated state. Then some people complained about missing versions to install as they are not displayed anymore when outdated.

In EM there are some repository functions to fetch the versions which checks only for review_state >= 0 to not show insecure versions. But unfortunately it also does not show outdated versions.

Solution?

Add a check for review_state = -2 additionally to the check for review_state >= 0 to show outdated versions again.

Workaround

Currently we have the workaround that the XML file contains no versions with -2 as they are replaced with 0 to show the outdated versions.

Reviews 3