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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mrmikedewolf created an issue. See original summary.

mrmikedewolf’s picture

DamienMcKenna’s picture

Status: Active » Needs review

Thanks 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.

DamienMcKenna’s picture

I 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.

Status: Needs review » Needs work
DamienMcKenna’s picture

Assigned: mrmikedewolf » Unassigned
DamienMcKenna’s picture

Version: 7.x-1.6 » 7.x-1.x-dev
CoderBrandon’s picture

Rerolled #2 to apply on 7.x-1.10.

muschpusch’s picture

mariodan’s picture

Applied patch from #8 with success!

dan.munn’s picture

Question: Is this still valid? Been using vuuid as (courtesy of uuid module) and new style locking FPP for the past 3 months without issue.

DamienMcKenna’s picture

I don't think this is valid anymore, the system should be able to handle using a VUUID when appropriate.