-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 2.2.0
-
Fix Version/s: None
-
Component/s: Layouts
-
Tags:
Steps to reprodude:
- Create schema called repeatAndCompare wit a complex field inside:
- repeatAndCompare (Schema)
- actor (Complex)
- image (Blob)
- actor (Complex)
- repeatAndCompare (Schema)
- Use a nuxeo-dropzone web element to upload a file to the blob field in your view:
<nuxeo-dropzone role="widget" label="[[i18n('label.form.actorImage')]]" document="{{document}}" xpath="repeatAndCompare:actor/image"> </nuxeo-dropzone>
Using repeatAndCompare:actor/image as xpath in the nuxeo-dropzone, it fails with an error in the user interface:
documentCreationForm.createError
NOTE: Also tested with repeatAndCompare:actor.image (using a '.' instead of '/'). It doesn'f fail, but it's not uploading the file.
- duplicates
-
NXP-25577 Allow dropzone to accept xpath for complex type subproperties
- Resolved