You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pranay Pandey (JIRA)" <ji...@apache.org> on 2008/03/31 07:56:24 UTC
[jira] Commented: (OFBIZ-1729) Searching entities with non numeric
chars in numeric field generates an error
[ https://issues.apache.org/jira/browse/OFBIZ-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583551#action_12583551 ]
Pranay Pandey commented on OFBIZ-1729:
--------------------------------------
I am working on this issue.
--
Thanks and Regars
Pranay Pandey
> Searching entities with non numeric chars in numeric field generates an error
> -----------------------------------------------------------------------------
>
> Key: OFBIZ-1729
> URL: https://issues.apache.org/jira/browse/OFBIZ-1729
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Environment: Win XP - OFBIZ SVN Trunk 642807
> Reporter: Bruno Busco
> Priority: Minor
>
> Use WebTools->Entity Data Maintenance to find an entity.
> If a non numeric char is used in a numeric entity filed the following error is generated:
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://webtools/widget/EntityScreens.xml#FindGeneric]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh] (Error running BSH script at [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh], line [76]: Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : Method Invocation findByEntity.setString : at Line: 76 : in file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : findByEntity .setString ( field .getName ( ) , fval )
> Target exception: java.lang.NumberFormatException: For input string: "w"
> (Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : Method Invocation findByEntity.setString)) (Error running BSH script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh] (Error running BSH script at [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh], line [76]: Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : Method Invocation findByEntity.setString : at Line: 76 : in file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : findByEntity .setString ( field .getName ( ) , fval )
> Target exception: java.lang.NumberFormatException: For input string: "w"
> (Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : Method Invocation findByEntity.setString)))
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.