Improve the InstallException message

Created on 22 February 2023, over 1 year ago

Problem/Motivation

I ran into an InstallException ( ๐Ÿ› InstallException when trying to install Pathauto via the ProjectBrowser UI Postponed: needs info ) when trying to install Pathauto via the Project Browser UI.

the current error message recommends that the page is restored from a code base backup. me as a user wasn't aware that there is the possibility that an installation could get corrupted requiring/recommending a restore from backup. for automatic updates there is the recommendation reminding the user to back up their data- and codebase before starting an update #3239759: Remind users to back up their database before starting an update โ†’ , for project browser there isn't any. but in this case without a backup at hand, from a users perspective i would feel helpless based on that type of error and given recommendation.

Steps to reproduce

Proposed resolution

  • it might be an idea to add a word of warning on /admin/config/development/project_browser in addition to the experimental label for the allow installing via the UI maybe or instead add a reminder on /admin/modules/browse in case the install via the UI option is active.
  • the error message shown in the screenshot might be improved as well as @timplunkett suggested in a thread on slack

Remaining tasks

  • โœ… File an issue about this project
  • โ˜ Manual Testing
  • โ˜ Code Review
  • โ˜ Accessibility Review
  • โ˜ Automated tests needed/written?
โœจ Feature request
Status

Active

Version

1.0

Component

User experience

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany rkoller Nรผrnberg, Germany

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024