You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Scott Gray (JIRA)" <ji...@apache.org> on 2008/05/24 22:37:56 UTC

[jira] Closed: (OFBIZ-1802) Error in Data File Tool

     [ https://issues.apache.org/jira/browse/OFBIZ-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Gray closed OFBIZ-1802.
-----------------------------

    Resolution: Fixed

Sorry Ashish, I didn't read the error message properly and assumed the error was coming from the ftl file.

I've committed (rev. 659870) a different version of your patch so that the uiLabelMap is loaded the same way as other bsh scripts do it.

> 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: Data_File_Tool_Files.zip, 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.