Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When viewing a webform submission, the breadcrumb path links to node/%webform_menu/submissions
That page only shows the submissions for the current user, and will display a confusing "There are no submissions for this form." in many cases, even if there's +100 submissions by other users already.
Suggestion: change the breadcrumb based on the users permission.
Patch will follow.
Comment | File | Size | Author |
---|---|---|---|
#1 | confusing_breadcrumb_on_submissions-1673422-1.patch | 849 bytes | rv0 |
Comments
Comment #1
rv0 CreditAttribution: rv0 commentedPatch kindly provided by Coworks Drupal Team
Comment #2
quicksketchMakes sense to me; I thought we were already doing something similar but I guess not. I'll review/commit this when I get a chance.
Comment #3
quicksketchCommitted to 7.x-3.x and 7.x-4.x. We can reroll if desired for D6, but this is so minor I don't think it's a big deal.
Comment #4
quicksketchComment #6
Robin Millette CreditAttribution: Robin Millette commentedThere is no $account variable in that function.
should be
Comment #7
Liam MorlandCheck the documentation:
https://api.drupal.org/api/drupal/modules!user!user.module/function/user...
Function signature:
user_access($string, $account = NULL)
Comment #8
Liam MorlandIf you are referring to the issue raised in #1763664: Error on each form submission - breadcrumb, that has been fixed.