Hi there,
I am using IPSContentWs.viewItems in an extension to get a list of items.
List<PSCoreItem> items = contentService.viewItems(glist, false, false, false,
false, sessionId, "admin1");
The extension generally works fine. It works if I run it in the template bindings and render it with the assembler. It works when I run it from a Location Scheme.
But if I have it in a template binding and I try to publish that template I get this error:
java.lang.RuntimeException: Content type with id=631 is not visible to the community with id=1003
That is the correct contentid for the item I want to get. But why is it trying to use that Fast Forward community to retrieve it?
Here’s more of the stack trace:
2009-09-01 14:40:30,025 ERROR [PSAssemblyService] Failure while processing assembly item
java.lang.RuntimeException: Content type with id=631 is not visible to the community with id=1003
at com.percussion.cms.objectstore.server.PSItemDefManager.getItemDef(Unknown Source)
at com.percussion.webservices.content.impl.PSContentWs.getItemDefinition(Unknown Source)
at com.percussion.webservices.content.impl.PSContentWs.loadItems(Unknown Source)
at com.percussion.webservices.content.impl.PSContentWs.viewItems(Unknown Source)