-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for uuid in phpcr_document #103
Comments
The EntityChoiceList determines the ID: |
I might have an idea on how to solve this. In the How is this solution? I currently implemented it this way for my own project. But maybe this could be used for this project. What are you thoughts @dbu @dantleech ? |
i am not sure i completely understood your proposal. would i tell the form type whether i want uuid or path? or do both work mixed? what if a document is not referenceable (aka has no uuid)? important would be to have a test that demonstrates both modes work. do you want to do a pull request and we further discuss there? |
@dbu This would require to update |
the form type phpcr_document uses the "id" which is the phpcr path. it would be nice if optionally it could also use the uuid instead.
looking at Doctrine\Bundle\PHPCRBundle\Form\Type\DocumentType and its base class and PhpcrOdmQueryBuilderLoader i don't even see who or what determines the id.
Some discussion can be found in #147
The text was updated successfully, but these errors were encountered: