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:

  1. First create a menu with a link to an alias, for example: "/contact"
  2. Then add some css class to make the active link bold in the menu
  3. Test that the active class is working when visiting the link
  4. Run the "drush cr" command on the console
  5. 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

gceja created an issue. See original summary.

gceja’s picture

Issue summary: View changes
helmo’s picture

Status: Active » Closed (won't fix)

This 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.

gceja’s picture

Status: Closed (won't fix) » Closed (duplicate)