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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to