The Node Refererence field now lives in the node_reference module as part of the references project

This patch ports the nodereference export for D6 to D7.

Comments

fabsor’s picture

Status: Active » Needs review

Setting status.

czigor’s picture

The export seems to work for me with this patch. Have not tested the import yet but will do it soon.

czigor’s picture

uuid_node_find() does not exist in latest uuid.
Attached patch is tested to export and import node_references.

However, if the imported node does not exist before the import and it has a node reference to itself, the feature will be overriden and the node misses the self-node-reference. Reverting the feature fixes this.

czigor’s picture

One file was left out from the prvious patch.

Jeffrey C.’s picture

Note that References is deprecated in favor of Entity Reference. So you're recommended to use Entity Reference instead of References (or its sub-modules).

Status: Needs review » Needs work

The last submitted patch, 1229792-uuid_features_node_reference-4.patch, failed testing.

boobaa’s picture

Status: Needs work » Needs review
StatusFileSize
new6.78 KB

Re #5: I prefer using Entity Reference instead of References, too – but Entity References are NOT exported by their UUID, either. However, that's another issue: #1973770: Integration with users, entityreference, taxonomy term references, field collections and nodequeue items, but I couldn't check that one yet.

Attached is a reroll of #4 against 7.x-1.0-alpha3.

Status: Needs review » Needs work

The last submitted patch, uuid_features-support_node_reference-1229792-7.patch, failed testing.

Jeffrey C.’s picture

Status: Needs work » Closed (won't fix)

Unfortunately, at this time there's no plan to support the References module. Entity Reference is a well-maintained module which, I believe, is able to meet most people's needs in content referencing. Feel free to reopen the issue if you feel References has notable advantages over Entity Reference.

czigor’s picture

Status: Closed (won't fix) » Needs review

I don't know about any advantages of References over Entity Reference. For new sites I always use the latter. However, for old sites using former module this feature could be still very helpful.

das-peter’s picture

Issue summary: View changes
Status: Needs review » Needs work

Now as #1973770: Integration with users, entityreference, taxonomy term references, field collections and nodequeue items is in this needs definitely a re-roll and could profit from the newly introduced entity hooks. See the new uuid_features.api.php file.