You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pierre Smits (JIRA)" <ji...@apache.org> on 2015/02/13 16:38:11 UTC

[jira] [Commented] (OFBIZ-5680) DataResource mapping to survey generates error

    [ https://issues.apache.org/jira/browse/OFBIZ-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14320306#comment-14320306 ] 

Pierre Smits commented on OFBIZ-5680:
-------------------------------------

Hi Ratnesh,

Could you work on a patch?

Best regards,

Pierre

> 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 12.04, Release Branch 13.07, 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.3.4#6332)