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.
We are using:
Drupal core 8.2.1
Standard Profile
We tried different versions of Drush and got the same results:
Drush 8.1.3, 8.1.5 and 8.1.6
Description of the issue:
When we run "drush cr" on the command line to clear the cache, the menu links that are linked to an alias loose the "active/is-active" class.
Steps to Reproduce:
- First create a menu with a link to an alias, for example: "/contact"
- Then add some css class to make the active link bold in the menu
- Test that the active class is working when visiting the link
- Run the "drush cr" command on the console
- Refresh the page and check that the "active/is-active" class has disappeared from the active link and its no longer highlighted
Note: This issue only occurred when we updated to Drupal 8.2.1, before we had Drupal 8.1.10 and Drush 8.1.3 and this issue didn't occur
Comments
Comment #2
gceja CreditAttribution: gceja commentedComment #3
helmo CreditAttribution: helmo at Initfour websolutions commentedThis issue was marked closed
(won't fix)
because Drush has moved to Github.If this feature is still desired, you may copy it to our Github project. For best results, create a Pull Request that has been updated for the master branch. Post a link here to the PR, and please also change the status of this issue to closed (duplicate).
Please ask support questions on Drupal Answers.
Comment #4
gceja CreditAttribution: gceja commentedMoved Issue to github:
https://github.com/drush-ops/drush/issues/2409