Script nodes can't be loaded by jackrabbit-ocm
----------------------------------------------

                 Key: SLING-16
                 URL: https://issues.apache.org/jira/browse/SLING-16
             Project: Sling
          Issue Type: Bug
          Components: Scripting
            Reporter: Edgar Poce
            Priority: Minor


It seems the Script interface must be declared in the mappings file.

proposed patch:

add the following line to org.apache.sling.scripting.Script
/**
 * @ocm.mapped discriminator="false"
 */

and change the mapping in org.apache.sling.scripting.core.ScriptImpl to
 *
 * @ocm.mapped jcrType="sling:Script" implement="" discriminator="false"
 */

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to