Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017555Openbravo ERPA. Platformpublic2011-06-08 11:262011-06-09 09:22
rgoris 
mtaal 
urgentmajorhave not tried
closedfixed 
10
pi 
3.0MP1 
Core
No
0017555: Selecting a BP in the grid causes the address field to be marked as erroneous
See video.

NOTE: THIS WORKS FINE IN http://46.137.53.34 [^] test instance (MP0!) so make sure this issue is not transplanted into MP0.
Sales Order grid, nothing selected
CTRL+i for new row (or button in toolbar)
using keyboard, ALT+arrowDown to select a BP
hit Enter
Address field turns red
No tags attached.
related to defect 0032030 acknowledged Triage Platform Base Double FIC request after selecting the empty value on a combo with a callout 
Issue History
2011-06-08 11:26rgorisNew Issue
2011-06-08 11:26rgorisAssigned To => mtaal
2011-06-08 11:26rgorisModules => Core
2011-06-08 11:28rgorisStatusnew => scheduled
2011-06-08 11:28rgorisfix_in_branch => pi
2011-06-08 17:03hgbotCheckin
2011-06-08 17:03hgbotNote Added: 0038174
2011-06-08 17:03hgbotStatusscheduled => resolved
2011-06-08 17:03hgbotResolutionopen => fixed
2011-06-08 17:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/eb5d4d933b758379c55f014ad9e23783da99ee0b [^]
2011-06-09 09:22rgorisStatusresolved => closed
2016-01-27 19:09caristuRelationship addedrelated to 0032030

Notes
(0038174)
hgbot   
2011-06-08 17:03   
Repository: erp/devel/pi
Changeset: eb5d4d933b758379c55f014ad9e23783da99ee0b
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jun 08 17:01:45 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/eb5d4d933b758379c55f014ad9e23783da99ee0b [^]

Fixes issue 17555: Selecting a BP in the grid causes the address field to be marked as erroneous
Related to issue 17550: Required/mandatory is not checked for selector items and not checked when saving in grid editing
Various changes to handle empty values in selector and combo box items
When a user clears a value using the keyboard then until now not FIC call was executed, this has been repaired
The clearing of the value is handled through the changed event
The clearing of the value of a selector/combo also needs to clear the identifier value, otherwise in grid editing the old identifier value is shown
When clearing a value old display values in the valuemap where lost, resulting in the db id to be shown, this has also been solved
ob-formitem-fk: make sure that the identifier value in the grid editing is also displayed
ob-formitem-list-filter: prevent validation in the filter editor
ob-formitem-list: do validation when exiting or changing a field, not necessary to do that in blur then, also execute change
ob-selector-item.js: when clearing the value call the setValueFromRecord with null, also set the grid edit values to prevent old identifier from showing
ob-view-form: undo now also restores the valuemap, before when undoing the database id was shown for combos, also validate field items which have changed during a fic call, clear errors in the grid if validation solves an error

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list-filter.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---