Details
Description
When creating a new DataResource record in content mgr with dataResourceTypeId set to 'SURVEY' following error is thrown when accessing it in cmssite:
Error calling event: org.ofbiz.webapp.event.EventHandlerException: Problems processing event: org.ofbiz.base.util.GeneralRuntimeException: Error rendering content: org.ofbiz.base.util.GeneralException: The dataResourceTypeId [SURVEY] is not supported in renderDataResourceAsText (The dataResourceTypeId [SURVEY] is not supported in renderDataResourceAsText) (Error rendering content: org.ofbiz.base.util.GeneralException: The dataResourceTypeId [SURVEY] is not supported in renderDataResourceAsText (The dataResourceTypeId [SURVEY] is not supported in renderDataResourceAsText))
I have the following :
- Content record: CMSS_SURVEY_DEMO, that points to:
- DataResource record CMSS_SURVEY_DEMO
The DataResource record has:
- dataResourceId = CMSS_SURVEY_DEMO
- dataResourceTypeId = SURVEY
- surveyId = 10000