Currently, when a fieldable panels pane is added to a panels page an the UUID module is on, it will only use the UUID if the entity is marked as being reuseable. The author of the code in question even leaves a comment acknowledging that this step isn't really figured out, and proposes that perhaps we should be using the vuuid, but opts to go with vid instead, since vuuid wasn't working.
The reason why vuuid doesn't work is because vuuid isn't a base column in the fieldable_panels_panes table, which Panelizer and Panels expect in order to summon panes.
The correct behavior is to use UUID in ALL cases when the UUID module exists.
Comment | File | Size | Author |
---|---|---|---|
#8 | fieldable_panels_panes-uuid_behavior_correction-2647890-8.patch | 683 bytes | CoderBrandon |
#2 | fieldable_panels_panes-uuid_behavior_correction-2647890-2.patch | 1.57 KB | mrmikedewolf |
Comments
Comment #2
mrmikedewolf CreditAttribution: mrmikedewolf at Third and Grove commentedComment #3
DamienMcKennaThanks for the patch, I'll review it shortly.
BTW when you upload a patch please set the status to "needs review", that will make the testbot review the code and let others know there's something to review.
Comment #4
DamienMcKennaI really wonder if we should just drop the fpid and vid fields entirely and instead just use uuid and vuuid? It seems redundant to support both, especially when CTools now has UUID support.
Comment #6
DamienMcKennaComment #7
DamienMcKennaComment #8
CoderBrandon CreditAttribution: CoderBrandon commentedRerolled #2 to apply on 7.x-1.10.
Comment #9
muschpusch CreditAttribution: muschpusch at Factorial GmbH commentedComment #10
mariodan CreditAttribution: mariodan commentedApplied patch from #8 with success!
Comment #11
dan.munn CreditAttribution: dan.munn at Unipro Ltd commentedQuestion: Is this still valid? Been using vuuid as (courtesy of uuid module) and new style locking FPP for the past 3 months without issue.
Comment #12
DamienMcKennaI don't think this is valid anymore, the system should be able to handle using a VUUID when appropriate.