Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023347Openbravo ERPA. Platformpublic2013-03-20 10:222013-03-20 16:28
AugustoMauch 
alostale 
normalmajorhave not tried
closedfixed 
5
 
3.0MP22 
AugustoMauch
Core
No
0023347: Parameter window closes if there is a validation error in one of the parameters
If a parameter window is embebbed in a generated window and there is a validation error in one of its parameters, the parameter window is closed and the error message is shown in the message bar of the generated window.

It should work the same way as the parameter windows that are opened from the menu: the parameter window should not be closed and the error message should be shown in the parameter window.
- Create a parameter window with a parameter and add a validation for the parameter.
- Create a button in a generated window and associate it with the new parameter window
- Execute the parameter window from the generated window and force a validation error. The parameter window will be closed and the error message will be shown in the generated window.
No tags attached.
Issue History
2013-03-20 10:22AugustoMauchNew Issue
2013-03-20 10:22AugustoMauchAssigned To => alostale
2013-03-20 10:22AugustoMauchModules => Core
2013-03-20 10:22AugustoMauchTriggers an Emergency Pack => No
2013-03-20 10:25hgbotCheckin
2013-03-20 10:25hgbotNote Added: 0057321
2013-03-20 10:25hgbotStatusnew => resolved
2013-03-20 10:25hgbotResolutionopen => fixed
2013-03-20 10:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cc6111e9a6a941c8b0e250de3240d75b014b92fc [^]
2013-03-20 10:25alostaleReview Assigned To => AugustoMauch
2013-03-20 10:25alostaleStatusresolved => new
2013-03-20 10:25alostaleResolutionfixed => open
2013-03-20 10:25alostaleFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/cc6111e9a6a941c8b0e250de3240d75b014b92fc [^] =>
2013-03-20 10:25alostaleStatusnew => scheduled
2013-03-20 10:25alostalefix_in_branch => pi
2013-03-20 10:26alostaleStatusscheduled => resolved
2013-03-20 10:26alostaleFixed in SCM revision => https://code.openbravo.com/erp/devel/pi/rev/cc6111e9a6a9 [^]
2013-03-20 10:26alostaleResolutionopen => fixed
2013-03-20 16:28AugustoMauchNote Added: 0057333
2013-03-20 16:28AugustoMauchStatusresolved => closed
2013-03-20 16:28AugustoMauchFixed in Version => 3.0MP22

Notes
(0057321)
hgbot   
2013-03-20 10:25   
Repository: erp/devel/pi
Changeset: cc6111e9a6a941c8b0e250de3240d75b014b92fc
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Mar 20 10:24:52 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cc6111e9a6a941c8b0e250de3240d75b014b92fc [^]

fixed bug 23347: parameter window closes if there is a backend validation error

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
---
(0057333)
AugustoMauch   
2013-03-20 16:28   
Code reviewed and verified in pi@cc6111e9a6a9