You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by GitBox <gi...@apache.org> on 2019/05/16 16:40:51 UTC

[GitHub] [sling-org-apache-sling-jcr-contentloader] ncautotest edited a comment on issue #2: SLING-8375 - Allow import if data contains protected properties

ncautotest edited a comment on issue #2: SLING-8375 - Allow import if data contains protected properties
URL: https://github.com/apache/sling-org-apache-sling-jcr-contentloader/pull/2#issuecomment-493138961
 
 
   @rombert: my understanding was that something like `node.getProperty(name)` would only work when the property already exists in the JCR and the import is running with the replace/replaceProperty options. If the nodes/properties from json/xml don't exist in the JCR then there won't be any nodes/properties to verify against and attempting to create them would still generate a `ConstraintViolationException`. Or am I missing something? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services