You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Ratnesh Upadhyay (JIRA)" <ji...@apache.org> on 2014/11/29 11:16:12 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=14228701#comment-14228701 ] 

Ratnesh Upadhyay commented on OFBIZ-5680:
-----------------------------------------

Hi All, 
We have reviewed reported issue and found that we don't have code support in OOTB to render SURVEY type data resource. So it is recommended to change type of this issue from bug to new feature or improvement to exclude it from bugs list. In meantime we will do some more research on it and share notes to add this support.

Thanks!!

> 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)