Closed (fixed)
Project:
Tree
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2012 at 12:37 UTC
Updated:
11 May 2012 at 17:20 UTC
Jump to comment: Most recent file
I doubt the current implementation can handle generic directed acyclic graphs. We should make sure a node is not inserted twice in the same tree, and thus forbid cardinality != 1 for treefields.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 0001-Issue-1545368-by-fgm-Forbid-cardinality-1-for-treefi.patch | 2.14 KB | fgm |
Comments
Comment #1
fgmDifficult to implement a reasonable UI for this, so the most reasonable implementation is likely just hook_field_update_forbid().
Comment #2
fgmComment #3
damien tournoud commentedSounds good.
Comment #4
fgmCommitted to 7.x-1.x, thanks.