Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The apps module has a line that tells users that Apps have been successfully installed during a distribution installation, but since it doesnt render until the next page load it ends up showing up on the following screen (http://drupal.org/files/apps-success-next-screen.png). This can be a bit confusing (since no other part of the Drupal profile installation process behaves this way) and I would recommend we do this silently (and only show errors).
Comment | File | Size | Author |
---|---|---|---|
#3 | apps-enable-success-1721548-3.patch | 542 bytes | nedjo |
#1 | 1721548-silent-success-condition-profile.patch | 568 bytes | populist |
apps-success-next-screen.png | 13.04 KB | populist |
Comments
Comment #1
populist CreditAttribution: populist commentedHere is a patch that rejoices silently.
Comment #2
febbraro CreditAttribution: febbraro commentedThanks. http://drupalcode.org/project/apps.git/commit/2e81c1d
Comment #3
nedjoWith this change, on successful completion of the batch operation for enabling apps, the following message appears:
Fatal error trying to enable apps.
This is because the $success variable isn't tested before giving the fatal error message.
Fix attached.
Comment #4
febbraro CreditAttribution: febbraro commentedFixes this and committed. Thanks nedjo.