[
https://issues.apache.org/jira/browse/OFBIZ-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Smits updated OFBIZ-5680:
--------------------------------
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
was:
When creating a new DataResource record in content mgr with dataResourceTypeId
set to 'SURVEY' following error is thrown when access 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
> DataResource mapping to survey generates error
> -----------------------------------------------
>
> Key: OFBIZ-5680
> URL: https://issues.apache.org/jira/browse/OFBIZ-5680
> Project: OFBiz
> Issue Type: Bug
> Components: content, specialpurpose/cmssite
> Affects Versions: Release Branch 13.07, Release Branch 12.04, Trunk
> Reporter: Pierre Smits
>
> 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)