[
https://issues.apache.org/jira/browse/SLING-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved SLING-16.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Added @ocm.mapped tag to Script interface as proposed.
Added a modified tag to ScriptImpl: the Script interface has to be explicitly
listed in the interfaces (not implement) attribute to prevent the Comparable
interface to be listed.
This should do the trick.
Thanks for reporting.
> 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
> Assignee: Felix Meschberger
> Priority: Minor
> Fix For: 2.0.0
>
>
> 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.