Sarwar-
This feature was added to Sling in 
https://issues.apache.org/jira/browse/SLING-1704

There is a bug in CQ 5.5 which causes the behavior you are describing. Adobe 
support can provide you with a workaround. I believe it was also fixed in SP2.

Regards,
Justin

On Nov 10, 2012, at 6:18 AM, Sarwar Bhuiyan <[email protected]> wrote:

> Hi all,
> 
> Has there been any change recently to the sling post servlets to enable the
> modification of the jcr:primaryType?  Or was that always modifiable?
> 
> At the risk of posting something that should be posted on the CQ forum, I'm
> facing a problem where if a page properties dialog is submitted from the
> /siteadmin, it is sending
> 
> ./jcr:primaryType=unstructured
> 
> The jcr:primaryType should really be cq:PageContent but that's another bug
> I suppose.
> 
> Now, when the POST completes, I can see that the jcr:content node's
> jcr:primaryType has indeed been modified to nt:unstructured.  The issue is
> occuring on a CQ5.5 with sevice pack 1.
> 
> I tried this on the GA version of CQ5.5 and the problem does not occur
> there even though ./jcr:primaryType is also posted as nt:unstructured there
> too.  For those on the CQ forum, any idea why this is being posted from
> siteadmin?
> 
> Apologies for the cross posting but I believe there is a problem on both
> sides
> 
> Thanks.
> 
> Sarwar

Reply via email to