Im experiencing a strange problem where the same flag link for the administrator behaves differently to that of an ordinary authenticated user.
i have a flag on a taxonomy term page view.
As the administrator
in the flag link the destination is set as the taxonomy terms page which is correctAs an authenticated user
the flat link destination is set as node
as a result the flagging does not work when logged in as authenticated userive checked the flag permissions, flushed caches etc
any idea why this may be behaving like this?
https://www.drupal.org/node/2378615
I posted the issue in the flag module issue but when i was investigating some more i was wondering if perhaps it is the combination of authcache and flag that is causing this behaviour
thanks
Comments
Comment #1
znerol CreditAttribution: znerol commentedIs the content containing the flag loaded via Authcache?
Comment #2
Colin @ PCMarket CreditAttribution: Colin @ PCMarket commentedHi Znerol
When i checked, yes they were in fact loaded via authcache.
When i exclude this page via authcache page caching settings the flag works as expected.
Strangely though this problem does not occur on my node pages which have a flag bookmark link enabled.
Comment #3
znerol CreditAttribution: znerol commentedCan you enable per page granularity on the authcache fragment which encloses the flags? This will most probably resolve the problem with the destination.
This is likely because the flag is not rendered inside an authcache fragment in that case.
Comment #4
Colin @ PCMarket CreditAttribution: Colin @ PCMarket commentedI have the flag link option set to display link as a field which then works with drupal fields display.
I don't have granularity over this like i would if i had it in a block.
Comment #5
znerol CreditAttribution: znerol commentedIf I'm not mistaken, it should be possible to specify the granularity in the authcache field settings?
Comment #6
znerol CreditAttribution: znerol commentedComment #7
znerol CreditAttribution: znerol commented