Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020589
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2012-05-23 13:182012-06-12 11:18
ReportermiruritaView Statuspublic 
Assigned Tonaiaramartinez 
PriorityhighResolutionfixedFixed in Version3.0MP13
StatusclosedFix in branchpiFixed in SCM revision0f8fd9baa16e
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020589: [Pick&Execute] JS error when validating returned amount field on "return to vendor" pick&edit window

DescriptionEnter an invalid number, for example dot (.), on returned column of "return to vendor" pick&edit window.

See on ob-return-material.js file the following js function
OB.RM.RMOrderQtyValidate

You get the following error:
Uncaught BigDecimal(): Not a number: .
Steps To Reproduce1) Go to Return to Vendor window
2) Create a new record for:
    Org: F&B US, Inc.
    Business Partner: Be Soft Drinker, Inc.
3) Save.
4) Click on Pick/Edit Lines button
5) Clear the filter.
6) Select any line and the "returned" cell gets the focus. Realize that the field is mandatory.
7) Enter an invalid value (dot): .
8) Press enter key
9) You get an JS error. After this point you cannot work in the application.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0049522)
naiaramartinez (developer)
2012-05-31 10:49

Test Plan:
  - Go to Return to Vendor window.
  - Create a new record for:
       Org: F&B US, Inc.
       Business Partner: Be Soft Drinker, Inc.
  - Save it.
  - Click on Pick/Edit Lines button
  - Select any line and the "returned" cell gets the focus. Realize that the field is mandatory.
  - Enter an invalid value (dot): .
  - Press enter key or select any other line
  Notice that you don't get any JS error. Moreover, if you go to the openbravo log, you can see that there is no java error, either.
(0049747)
hgbot (developer)
2012-06-12 11:15

Repository: erp/devel/pi
Changeset: 0f8fd9baa16ec83fd429bd88b0d04558ec635358
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Fri Jun 01 14:53:40 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0f8fd9baa16ec83fd429bd88b0d04558ec635358 [^]

fixed bug 20589 JS and Java error trying to convert string in number

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/return-material/ob-return-material.js
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/NumberUIDefinition.java
---
(0049751)
mirurita (developer)
2012-06-12 11:18

code review + testing OK

- Issue History
Date Modified Username Field Change
2012-05-23 13:18 mirurita New Issue
2012-05-23 13:18 mirurita Assigned To => mirurita
2012-05-23 13:18 mirurita Modules => Core
2012-05-31 10:35 naiaramartinez Assigned To mirurita => naiaramartinez
2012-05-31 10:35 naiaramartinez Status new => scheduled
2012-05-31 10:35 naiaramartinez fix_in_branch => pi
2012-05-31 10:49 naiaramartinez Note Added: 0049522
2012-06-12 11:15 hgbot Checkin
2012-06-12 11:15 hgbot Note Added: 0049747
2012-06-12 11:15 hgbot Status scheduled => resolved
2012-06-12 11:15 hgbot Resolution open => fixed
2012-06-12 11:15 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0f8fd9baa16ec83fd429bd88b0d04558ec635358 [^]
2012-06-12 11:18 mirurita Note Added: 0049751
2012-06-12 11:18 mirurita Status resolved => closed
2012-06-12 11:18 mirurita Fixed in Version => 3.0MP13


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker