Shortcut module installation fails in tests when installed later (due to menu system not saving menu links correctly)

Created on 19 December 2011, over 12 years ago
Updated 18 August 2013, almost 11 years ago

Revealed via #1373142: Use the Testing profile. Speed up testbot by 50% β†’

Problem

  • shortcut_install() calls drupal_installation_attempted() to determine whether a menu_rebuild() is necessary, but drupal_installation_attempted() relies on the MAINTENANCE_MODE constant, which cannot be set when running tests.

Related issues

πŸ› Bug report
Status

Needs review

Version

7.0 ⚰️

Component
Menu systemΒ  β†’

Last updated 4 days ago

Created by

πŸ‡©πŸ‡ͺGermany sun Karlsruhe

Live updates comments and jobs are added and updated live.
  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024