Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0031749 | Openbravo ERP | A. Platform | public | 2015-12-18 13:10 | 2015-12-29 22:16 | |||||||
Reporter | NaroaIriarte | |||||||||||
Assigned To | NaroaIriarte | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | inigosanchez | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0031749: When a record is saving a warning is thrown, the message is not correct. | |||||||||||
Description | If you create a record and click on "save" and if a callout which has to show a warning is thrown out, the warning message is not correct. It shows "Saving failed" message appended to the original warning message. That is not correct because a warning may not impede to save a record. | |||||||||||
Steps To Reproduce | 1- Create a callout with a simple logic that only shows a warning message. http://wiki.openbravo.com/wiki/How_to_create_a_Callout [^] 2- Associate the callout to a column. 2.1- As System Admin, go to "Tables and Columns". 2.2- Go to the "Obuiapp_gc_system" table. 2.3- In the "Column" tab, open "Text_filter_behavior" record. 2.4- Fill the "callout" field with the callout you have just created. 3- export the database and compile with smartbuild. 4- As System Admin, go to "Grid configuration at System" window. 5- Create a new record. 6- Go to the "Text filter behavior" field and modify it (this is for throwing the callout). 7- Click on the save button. 8- Realize that the shown message is not correct, the warning shows the "Saving failed" message appended to the warning message. And that is not correct, it is possible to save the record. | |||||||||||
Proposed Solution | The "setMessage" function of the "ob-messagebar.js" has to be modified. There is a condition which have to be changed "if ((form && form.isSaving) || (grid && grid.isSaving)) { text = OB.I18N.getLabel('OBUIAPP_ErrorSavingFailed') + ' ' + text; }" Here it is necessary to add a logic to avoid showing the "Saving failed" text if it is not an error. For example an info message or as in this example, a warning. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2015-12-18 13:10 | NaroaIriarte | New Issue | ||||||||||
2015-12-18 13:10 | NaroaIriarte | Assigned To | => NaroaIriarte | |||||||||
2015-12-18 13:10 | NaroaIriarte | Modules | => Core | |||||||||
2015-12-18 13:10 | NaroaIriarte | Triggers an Emergency Pack | => No | |||||||||
2015-12-18 13:10 | NaroaIriarte | Relationship added | related to 0016508 | |||||||||
2015-12-18 14:39 | NaroaIriarte | Summary | When a record is saved and a callout for showing a warning is thrown, the message is not correct. => When a record is saving a warning is thrown, the message is not correct. | |||||||||
2015-12-21 14:50 | hgbot | Checkin | ||||||||||
2015-12-21 14:50 | hgbot | Note Added: 0082885 | ||||||||||
2015-12-21 14:50 | hgbot | Status | new => resolved | |||||||||
2015-12-21 14:50 | hgbot | Resolution | open => fixed | |||||||||
2015-12-21 14:50 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/1b4cba742662a131987285c8c35313fd9d444f96 [^] | |||||||||
2015-12-21 16:47 | NaroaIriarte | Note Added: 0082906 | ||||||||||
2015-12-21 16:47 | NaroaIriarte | Review Assigned To | => alostale | |||||||||
2015-12-21 20:21 | hudsonbot | Checkin | ||||||||||
2015-12-21 20:21 | hudsonbot | Note Added: 0082912 | ||||||||||
2015-12-28 14:10 | inigosanchez | Review Assigned To | alostale => inigosanchez | |||||||||
2015-12-29 22:16 | inigosanchez | Status | resolved => closed | |||||||||
2015-12-29 22:16 | inigosanchez | Note Added: 0083065 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|