A submission view page, such as node/2/submission/7, has this breadcrumb:
Home » My Form » Webform results

A submission edit page, such as node/2/submission/7/edit, has this breadcrumb:
Home » My Form » Webform results » My Form

It should not have the second "My Form".

It is added in webform_set_breadcrumb() because it is present in drupal_get_breadcrumb(). I haven't got further than that to understand why it is there.

Comments

  • DanChadwick committed 198533f on 7.x-4.x
    Issue #2209659 by DanChadwick: Fixed extra node link in breadcrumb.
    
  • DanChadwick committed 094b3f2 on 8.x-4.x
    Issue #2209659 by DanChadwick: Fixed extra node link in breadcrumb.
    
danchadwick’s picture

Component: User interface » Code
Status: Active » Fixed
StatusFileSize
new1.33 KB

webform_set_breadcrumb is shown from the submissions list, submission edit, submission delete, and submission resend e-mails. In all these cases, there is no extra link at the end of the default breadcrumbs should should be added. I'm unsure of the history of this code, so I left the possibility of adding a final unique link and prevent it from being added if it is another link to the webform node.

@quicksketch - if you know the history, please let me know. Maybe the $last_link code can be deleted.

Committed to 7.x-4.x an d8.x

Status: Fixed » Closed (fixed)

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