Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033329Openbravo ERPA. Platformpublic2016-06-22 14:482022-02-01 08:09
inigosanchez 
Triage Platform Base 
normalminorhave not tried
newopen 
5
 
 
Core
No
0033329: Error is thrown in validation of mandatory fields when a callout has to fill a mandatory field.
When a save button is clicked, the value of a mandatory field that is filled by a callout should be validated after than callout operations have finished.

For example, in 'User' window the value in 'Username' field is written properly by SL_User_Name callout when name field is filled but validation of mandatory fields are executed before. For this reason, this record is not saved properly.

It would be nice than callouts operations will be execute before than validation of mandatory fields when a save button is clicked.
- Login as F&B International Group Admin.
- Go to 'User' window.
- Create a new record in grid.
- Write 'Testing user' in name field
- Click on save button.
- An error is shown in mandatory field 'Username'. It can't save it properly.

Note: The value in 'Username' is written properly by SL_User_Name callout but validation of mandatory fields are executed before.For this reason, this record is not saved properly.

Note 2: Then, it is necessary to edit the record and to edit any field manually to save the record properly.
No tags attached.
Issue History
2016-06-22 14:48inigosanchezNew Issue
2016-06-22 14:48inigosanchezAssigned To => platform
2016-06-22 14:48inigosanchezModules => Core
2016-06-22 14:48inigosanchezTriggers an Emergency Pack => No
2016-06-22 14:49inigosanchezNote Added: 0087795
2016-06-22 17:10inigosanchezSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12455#r12455
2016-06-22 17:40inigosanchezDescription Updatedbug_revision_view_page.php?rev_id=12458#r12458
2016-06-22 17:40inigosanchezSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12459#r12459
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

Notes
(0087795)
inigosanchez   
2016-06-22 14:49   
To avoid this error:
- First, write 'Testing user' in name field.
- Second, click inside another field. Example, focus inside 'First Name' field. Note than 'Username' field is completed by callout.
- Then, click on save button. User is saved properly.