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

Scott Gray commented on OFBIZ-1802:
-----------------------------------

Hi Ashish

Everything works fine for me, the uiLabelMap is already defined in the 
main-decorator.

> Error in Data File Tool
> -----------------------
>
>                 Key: OFBIZ-1802
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1802
>             Project: OFBiz
>          Issue Type: Bug
>         Environment: CentOS + Java 5
>            Reporter: Ashish Vijaywargiya
>            Priority: Minor
>         Attachments: DataFileTool.patch
>
>
> While using the Data File Tool when user submits to generate new file for the 
> Entity Definition it blows up with an error of uiLabelMap is missing.
> Here is the Error details :-
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
> [component://webtools/widget/MiscScreens.xml#viewdatafile]: 
> org.ofbiz.base.util.GeneralException: Error running BSH script at location 
> [component://webtools/webapp/webtools/WEB-INF/actions/datafile/viewdatafile.bsh]
>  (Error running BSH script at 
> [component://webtools/webapp/webtools/WEB-INF/actions/datafile/viewdatafile.bsh],
>  line [94]: Sourced file: 
> component://webtools/webapp/webtools/WEB-INF/actions/datafile/viewdatafile.bsh
>  : Attempt to resolve method: get() on undefined variable or class name: 
> uiLabelMap : at Line: 94 : in file: 
> component://webtools/webapp/webtools/WEB-INF/actions/datafile/viewdatafile.bsh
>  : uiLabelMap .get ( "WebtoolsDataEntityFileSavedTo" )
> (Sourced file: 
> component://webtools/webapp/webtools/WEB-INF/actions/datafile/viewdatafile.bsh
>  : Attempt to resolve method: get() on undefined variable or class name: 
> uiLabelMap)) (Error running BSH script at location 
> [component://webtools/webapp/webtools/WEB-INF/actions/datafile/viewdatafile.bsh]
>  (Error running BSH script at 
> [component://webtools/webapp/webtools/WEB-INF/actions/datafile/viewdatafile.bsh],
>  line [94]: Sourced file: 
> component://webtools/webapp/webtools/WEB-INF/actions/datafile/viewdatafile.bsh
>  : Attempt to resolve method: get() on undefined variable or class name: 
> uiLabelMap : at Line: 94 : in file: 
> component://webtools/webapp/webtools/WEB-INF/actions/datafile/viewdatafile.bsh
>  : uiLabelMap .get ( "WebtoolsDataEntityFileSavedTo" )
> (Sourced file: 
> component://webtools/webapp/webtools/WEB-INF/actions/datafile/viewdatafile.bsh
>  : Attempt to resolve method: get() on undefined variable or class name: 
> uiLabelMap)))
> --
> Ashish Vijaywargiya

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to