Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0020537 | Openbravo ERP | A. Platform | public | 2012-05-17 11:51 | 2012-06-21 15:41 |
Reporter | mtaal | ||||
Assigned To | AugustoMauch | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0MP13 | |||
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 | 0020537: Grid editing: field shows short error border when opening a grid line for editing | ||||
Description | I noticed that when I start editing an existing line in grid that a short error border is shown, it happens on the quantity field. | ||||
Steps To Reproduce | Open sales invoice window Goto lines tab Create a new line put the focus in the quantity field (or another required field) Save it Then start editing this same line When starting editing the quantity field shows an error border for a short time | ||||
Proposed Solution | I think it has to do with the following: - when saving the grid hides the form - the last focus item stays set in the form, it is a required item - when the form is opened again the system starts with an empty form - but immediately moves the focus to another item - which fires validation on the required field To solve this, when the form gets hidden set the focus item of the grid editing form to null form.setFocusItem(null) This can be done in the ob-view-grid.hideInlineEditor method somewhere in the if (editForm) if statement maybe. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-05-17 11:51 | mtaal | New Issue | |||
2012-05-17 11:51 | mtaal | Assigned To | => alostale | ||
2012-05-17 11:51 | mtaal | Modules | => Core | ||
2012-05-17 11:51 | mtaal | OBNetwork customer | => No | ||
2012-05-22 14:09 | alostale | Target Version | 3.0MP12 => | ||
2012-06-04 10:55 | AugustoMauch | Assigned To | alostale => AugustoMauch | ||
2012-06-04 11:02 | hgbot | Checkin | |||
2012-06-04 11:02 | hgbot | Note Added: 0049599 | |||
2012-06-04 11:02 | hgbot | Status | new => resolved | ||
2012-06-04 11:02 | hgbot | Resolution | open => fixed | ||
2012-06-04 11:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b5f0e719c9c220710f8f15400577e913443d1d89 [^] | ||
2012-06-21 15:41 | alostale | Note Added: 0049985 | |||
2012-06-21 15:41 | alostale | Status | resolved => closed | ||
2012-06-21 15:41 | alostale | Fixed in Version | => 3.0MP13 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|