Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019051Openbravo ERP03. Procurement managementpublic2011-11-11 12:262012-04-02 06:09
jvazquez 
naiaramartinez 
normalminoralways
closedfixed 
5
 
 
Core
No
0019051: Copy Lines screen allows to enter non-numeric values
The "Copy lines from order" screen allows to enter things different to numbers into the quantity colum.
Create a Purchase Order.
Use the "Copy Lines" button to enter lines to the newly created purchase order.
Select a row.
Enter a random text like "Hello" in the Quantity column of the selected row.
You can even hit the OK button and the process will continue executing, showing a Java error later.
A. Do not allow to enter text, just numbers in the Quantity column.
B. Show an error when clicking the Ok button if a non-numeric is entered in the Quantity column.
VMA-Reviewed
png Pantallazo-2.png (187,745) 2011-11-11 12:26
https://issues.openbravo.com/file_download.php?file_id=4746&type=bug
png
Issue History
2011-11-11 12:26jvazquezNew Issue
2011-11-11 12:26jvazquezAssigned To => jonalegriaesarte
2011-11-11 12:26jvazquezFile Added: Pantallazo-2.png
2011-11-11 12:26jvazquezModules => Core
2012-02-15 19:03iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 18:08vmromanosTag Attached: VMA-Reviewed
2012-03-08 16:51naiaramartinezAssigned Tovmromanos => naiaramartinez
2012-03-08 16:52naiaramartinezStatusnew => scheduled
2012-03-08 16:52naiaramartinezfix_in_branch => pi
2012-03-08 18:14naiaramartinezNote Added: 0046210
2012-03-13 13:58vmromanosNote Added: 0046338
2012-03-13 13:59hgbotCheckin
2012-03-13 13:59hgbotNote Added: 0046339
2012-03-13 13:59hgbotStatusscheduled => resolved
2012-03-13 13:59hgbotResolutionopen => fixed
2012-03-13 13:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3ab535c40a07c00ec599249aecc59a5f34661cb0 [^]
2012-03-13 14:01vmromanosNote Added: 0046340
2012-03-13 14:01vmromanosStatusresolved => closed
2012-04-02 06:09hudsonbotCheckin
2012-04-02 06:09hudsonbotNote Added: 0047117

Notes
(0046210)
naiaramartinez   
2012-03-08 18:14   
Test plan:
  Create a Purchase Order.
  Use the "Copy Lines" button to enter lines to the newly created purchase order.
  Select a row.
  Enter a random text like "Hello" in the Quantity or LastPrice column of the selected row.
  You can see that error message appears in cell where you introduced the incorrect number.
MoreOver, if you hit the Ok button, you can see at the top of the popup an error message.
(0046338)
vmromanos   
2012-03-13 13:58   
Alternative Test Plan I:
Create a Purchase Order.
Use the "Copy Lines" button to enter lines to the newly created purchase order.
Select a row.
Enter a random text like "Hello" in the Quantity or LastPrice column of the selected row.
You can see that error message appears in cell where you introduced the incorrect number.
Write a valid number. The error in the cell must be removed
(0046339)
hgbot   
2012-03-13 13:59   
Repository: erp/devel/pi
Changeset: 3ab535c40a07c00ec599249aecc59a5f34661cb0
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Tue Mar 13 11:51:00 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3ab535c40a07c00ec599249aecc59a5f34661cb0 [^]

fixed bug 19051 Don't allow to enter non-numeric values in Copy Lines screen

---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder.html
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder.xml
---
(0046340)
vmromanos   
2012-03-13 14:01   
code review + testing OK
(0047117)
hudsonbot   
2012-04-02 06:09   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test