Hi All,

I'm probably doing something stupid and thought someone might be able to give me a quick answer. Some patches have been submitted to make the ScaleImageTag actually work, but now the nodes created by this tag are killing the export:

@40000000461ec3b522b04984 ERROR info.magnolia.cms.servlets.MVCServletHandlerImpl MVCServletHandlerImpl.java(execute:99) 12.04.2007 18:41:31 can't call command: exportxml @40000000461ec3b522b060f4 org.apache.commons.lang.exception.NestableRuntimeException: javax.jcr.RepositoryException: internal error: missing jcr:primaryType property on node /foo/bar/imageThumb @40000000461ec3b522b0747c at info.magnolia.cms.core.ie.DataTransporter.executeExport (DataTransporter.java:386) @40000000461ec3b522b12ffc at info.magnolia.module.admininterface.pages.ExportPage.exportxml (ExportPage.java:237)
...

The code to create the node was taken from the old ScaleImageTag and looks like:

imageContentNode = parentContentNode.createContent (this.imageContentNodeName, ItemType.CONTENTNODE);
        parentContentNode.save();

What do I need to do to set the jcr:primaryType property?

Best Regards,

Tom Duffey

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to