The default action for the "Owner" contextual filter of the supplied "Files" View under user/%/my-files is set to "empty". This causes a Views quirk to appear when generating the breadcrumb (see: https://drupal.org/comment/8548197).
Instead of the breadcrumb showing as:
Home (/) > User (/user) > Files (/user/{uid}/my-files)
it's showing as:
Home (/) > User (/user) > Files (/user/all/my-files) > Files (/user/{uid}/my-files)
It's difficult to tell whether or not this is intended behaviour in Views, or a bug. However, it's easy to workaround by changing the default action on the contextual filter from "empty" to "not found". This avoids the Views issue, and is probably more appropriate anyway.
Comment | File | Size | Author |
---|---|---|---|
#1 | owner_contextfilter_default-2211603-1.patch | 1.01 KB | jmking |
Comments
Comment #1
jmking CreditAttribution: jmking commentedAttached a simple patch to change the default. However, this won't fix it for people who have already installed the module and may have already customized the supplied view.
Comment #2
jmking CreditAttribution: jmking commentedComment #3
bojanz CreditAttribution: bojanz commentedYes, that makes more sense in any case. Committed, thanks.