Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017265Openbravo ERPA. Platformpublic2011-05-19 11:222011-06-03 11:14
psarobe 
iperdomo 
urgentmajoralways
closedfixed 
5
pi 
3.0MP0 
Core
No
0017265: When you type wrongly a letter in a date field, the window gets corrupted but you can move to grid view without warnings
When you type wrongly a letter in a date field, the window gets corrupted and after entering the business partner you can click the cross icon to move back to the grid. Finally you don't have anything and you have lost the record.

Expected behaviour: The same as it happens when clicking the save button. When clicking the cross icon a message should appear :
Error
One or more fields contain illegal values, check the errors for each field.
1. Login as Openbravo/openbravo
2. Go to Purchase invoice
3. Click new and type a letter in the invoice date. At this point the window is corrupted
4. Enter the business partner.
5. Click the cross the icon to move to the grid

It doesn't do anything. It moves to the grid but the window.

Expected behaviour: It should warn you that you cannot move to the grid
No tags attached.
related to defect 00173363.0MP0 closed iperdomo Cross button in form view is not working 
Issue History
2011-05-19 11:22psarobeNew Issue
2011-05-19 11:22psarobeAssigned To => alostale
2011-05-19 11:22psarobeModules => Core
2011-05-20 11:18psarobeStatusnew => scheduled
2011-05-20 11:18psarobeAssigned Toalostale => iperdomo
2011-05-20 11:18psarobefix_in_branch => pi
2011-05-23 19:19psarobeTarget Version3.0MP0 => 3.0MP1
2011-05-23 19:19psarobefix_in_branchpi =>
2011-05-23 19:22psarobePriorityurgent => high
2011-05-23 19:22psarobeTarget Version3.0MP1 => 3.0MP0
2011-05-24 11:36psarobePriorityhigh => urgent
2011-05-24 13:52psarobeRelationship addedrelated to 0017336
2011-05-26 13:21hgbotCheckin
2011-05-26 13:21hgbotNote Added: 0037594
2011-05-26 13:21hgbotStatusscheduled => resolved
2011-05-26 13:21hgbotResolutionopen => fixed
2011-05-26 13:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/06dff9ac98cbbe39d4604e647449a329464c1637 [^]
2011-05-31 09:43hudsonbotCheckin
2011-05-31 09:43hudsonbotNote Added: 0037766
2011-06-03 11:14marvintmStatusresolved => closed

Notes
(0037594)
hgbot   
2011-05-26 13:21   
Repository: erp/devel/pi
Changeset: 06dff9ac98cbbe39d4604e647449a329464c1637
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Thu May 26 13:21:20 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/06dff9ac98cbbe39d4604e647449a329464c1637 [^]

Fixes issue 17336 and fixes Issue 17265: Validate the form before switching view

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-statusbar.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
---
(0037766)
hudsonbot   
2011-05-31 09:43   
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/ea275e03a164 [^]

Maturity status: Test