Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Problem/Motivation
The version of Drupal CMS provided by https://new.drupal.org/drupal-cms/trial disables the Project Browser source plugin for d.o modules (drupalorg_jsonapi
).
This is linked to by the Top Tasks added in #3498635: Add links to recipes page and module browser to dashboard:
https://git.drupalcode.org/project/drupal_cms/-/blob/1.x/recipes/drupal_...
Steps to reproduce
Click on the "Browse modules" in the "Top Tasks" section
Currently, result is WSOD.
After #3500024: WSOD when accessing non-enabled or non-existent source plugin, it will be a 404.
Proposed resolution
Remove link
Comments
Comment #2
pameeela CreditAttribution: pameeela commented@tim.plunkett are you saying we should remove it from top tasks completely because it doesn't work in the trial? Hmmm.
Comment #3
tim.plunkettTo be clear, it's not a trial-only problem right now. If someone were to stumble upon
/admin/config/development/project_browser
and disable the "Contrib modules" source, this task would still exist and when clicked would trigger a WSOD.Leaving this postponed in case the direction of #3500024: WSOD when accessing non-enabled or non-existent source plugin shifts, but as the MR exists right now it will resolve this problem.
It turns that WSOD into a 404, and since the Top Tasks are menu links, it's smart enough to hide the task on it's own.
Comment #4
pameeela CreditAttribution: pameeela commentedThat sounds good! So no action needed here if that gets merged right? Assuming PB tags a new release before our next release?
Comment #5
tim.plunkett100% correct
Comment #6
rajab natshah CreditAttribution: rajab natshah at Vardot for Vardot commented#3499406: Fix fallback logic for empty $source in browse() method to ensure config validation with improved fallback logic