Needs review
Project:
UUID Features Integration
Version:
7.x-1.x-dev
Component:
uuid_node
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2013 at 09:47 UTC
Updated:
17 Sep 2021 at 15:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
saltednutCan you install the diff module to see what is overridden?
Comment #2
saltednutComment #3
chriskinch commentedI am also having this problem so I thought I'd post my diff here.
What appears to be happening is the webform is being created with whatever is the next available nid in numerical sequence. However if that nid doesn't match the one from say your development environment (or just in the feature file) then the feature appears as overridden and cannot be reverted.
Comment #4
chriskinch commentedSetting to active now more info has been supplied.
Comment #5
saltednutThis has to do with how the webform is being exported. You wouldn't want the NID hardcoded at all. Probably what would need to happen to make this cleaner would be to change how the nodes get exported with the extra webform component, leaving out the actual NID. In this use case, versioning the NID is useless and could actually create serious problems. Thats why we have the UUIDs in place. Anyway, there's really nothing wrong here, its just an annoyance. If you want to write a patch that changes how uuid_features exports webform components attached to nodes, we can review it.
Comment #6
zengenuity commentedThere is a patch for webform that fixes this issue: https://drupal.org/node/2076483
Apply the patch, enable the new Webform UUID module and re-export your features.
Comment #7
torotil commentedWe could simply remove the nid field from all components. They are ignored on import (via node save) anyway.
Comment #8
torotil commentedHere is a patch adding a webform integration.
Comment #9
torotil commentedTodo
Comment #10
torotil commentedStill couldn’t find out how to add dependencies in the alter hook. But this should clean out all superfluous IDs.
Comment #11
torotil commentedFound another one. This also removes
$node->webform['nid'].Comment #12
torotil commentedOk next update: One more
nidremoved and dependencies for the webform components are added.I think it’s final ;-)