Description
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"
*/