Installed unsupported modules breaks Update extensions page

Created on 13 August 2024, about 1 month ago
Updated 3 September 2024, 13 days ago

Problem/Motivation

If the website has been installed with a module and it becomes unsupported we are getting page break errors.

The website encountered an unexpected error. Try again later.

RuntimeException: The project 'pdf_serialization' can not be updated because its status is unsupported in Drupal\package_manager\ProjectInfo->getInstallableReleases() (line 103 of modules/contrib/automatic_updates/package_manager/src/ProjectInfo.php).
Drupal\automatic_updates_extensions\Form\UpdaterForm->getRecommendedModuleUpdates() (Line: 97)
Drupal\automatic_updates_extensions\Form\UpdaterForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 536)

Steps to reproduce

1. Installed any modules that are supported earlier
2. Example pdf_serialization install using the command composer require drupal/pdf_serialization and install.
3. Install and enable the Automatic Updates
4. Visit the /admin/modules/automatic-update-extensions
5. Getting the page break error.

Proposed resolution

Instead of error we can able to show the message on the Update page.

Remaining tasks

Nil

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

3.1

Component

Automatic Updates Extensions

Created by

🇮🇳India arunkumark Coimbatore

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024