Problem/Motivation

Put in #bar into a menu link. Saving works fine and the fragment is rendered properly
Once you edit the link again, the fragment is lost.

Proposed resolution

Remember the fragment.

Remaining tasks

User interface changes

API changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
Issue tags: +Needs tests

Here is a fix which works fine.

dawehner’s picture

.

dawehner’s picture

FileSize
2.84 KB

MH, I cannot get it to fail here

dawehner’s picture

Ha, this was just for the frontpage.

The last submitted patch, 4: menu_fragment-2321515-4-FAIL.patch, failed testing.

pwolanin’s picture

Status: Needs review » Reviewed & tested by the community

Looks like a simple fix for the bug

pwolanin’s picture

Issue tags: -Needs tests

has tests

tim.plunkett’s picture

Title: Updating links looses fragments » Updating links loses fragments

Yay for outdenting code to fix bugs!

  • webchick committed cdebbfb on 8.0.x
    Issue #2321515 by dawehner: Fixed Updating links loses fragments.
    
webchick’s picture

Status: Reviewed & tested by the community » Fixed

Nice catch + fix.

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.