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 15:37:09 UTC

[GitHub] [sling-org-apache-sling-jcr-contentloader] rombert commented on issue #2: SLING-8375 - Allow import if data contains protected properties

rombert commented 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-493119263
 
 
   @ncautotest - instead of `node.setProperty(name, value)` you can do something like
   
   ```
   Property prop = node.getProperty(name);
   if ( prop.isProtected() )  {
        // return/continue/etc
   }
   prop.setValue(value);
   ```

----------------------------------------------------------------
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