[PHPCR-103] map node autoname feature Created: 13/Mar/13  Updated: 02/Sep/13  Resolved: 02/Sep/13

Status: Closed
Project: Doctrine PHPCR
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: David Buchmann Assignee: Lukas Kahwe
Resolution: Fixed Votes: 0
Labels: None


we should map the Node::addNodeAutonamed as an option for the nodename field to have nodes that generate their own name (i.e. useful in children collection)

Comment by David Buchmann [ 14/Mar/13 ]

probably this should be a special id generator strategy like parent and nodename, where nodename is generated. is there a way to pass a parameter to the strategy? or would this need to be a separate option on the "@Id"? addNodeAutoname can accept an optional parameter to control parts of the generated name.
btw, this will be funny as this strategy can not really "generate" an id, it needs to actually create the node to have the name generated. so actually we have no id until we actually flush...

and there is this issue to handle as well

Comment by Lukas Kahwe [ 24/Aug/13 ]


Comment by David Buchmann [ 02/Sep/13 ]

pr was merged

Generated at Wed Nov 25 13:20:13 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.