Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020589 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 03. Procurement management | major | always | 2012-05-23 13:18 | 2012-06-12 11:18 | |||
Reporter | mirurita | View Status | public | |||||
Assigned To | naiaramartinez | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0MP13 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 0f8fd9baa16e | |||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020589: [Pick&Execute] JS error when validating returned amount field on "return to vendor" pick&edit window | |||||||
Description | Enter 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 Reproduce | 1) 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0049522) naiaramartinez (viewer) 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 (viewer) 2012-06-12 11:18 |
code review + testing OK |
![]() |
|||
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-23 13:18 | mirurita | OBNetwork customer | => No |
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 |