Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016064Openbravo ERPA. Platformpublic2011-02-25 23:062011-03-11 00:00
elopio 
mtaal 
normalmajoralways
closedfixed 
5
 
pipi 
Core
No
0016064: Autosave error is triggered when closing a tab, even if the form wasn't touched
When the 'create new' form is displayed but not modified, and the tab is closed, an error message appears:

The automatic save action on the Module tab failed. Go to this tab to see the detailed error message and solve the errors.

This happens also when trying to move to another tab.

This issue was caught by the Automated GUIUnit test suite:
http://builds.openbravo.com/view/qa-internal/job/qa-pi-integration-3-pgsql/233/testReport/junit/com.openbravo.test.integration.erp.modules.client.application.navigationbarcomponents.testsuites/NAV0120_CreateNewRecordFromRecentItems/createNewWidgetShouldOpenView_0_/ [^]
Login with Openbravo user.
Open the create new widget and launch the Module window.
Close the tab.

Alternatively, run the automated test com.openbravo.test.integration.erp.modules.client.application.navigationbarcomponents.testsuites.NAV0120_CreateNewRecordFromRecentItems.createNewWidgetShouldOpenView
The autosave message shouldn't be displayed if the form wasn't touched. One should be able to cancel the 'new record' action by clicking the close button of the tab.
No tags attached.
png Ekrankopio-1.png (54,072) 2011-02-25 23:06
https://issues.openbravo.com/file_download.php?file_id=3611&type=bug
png

? out.ogv (352,077) 2011-03-09 17:33
https://issues.openbravo.com/file_download.php?file_id=3641&type=bug
Issue History
2011-02-25 23:06elopioNew Issue
2011-02-25 23:06elopioAssigned To => mtaal
2011-02-25 23:06elopioFile Added: Ekrankopio-1.png
2011-02-25 23:06elopioModules => Core
2011-02-28 07:39alostaleStatusnew => scheduled
2011-02-28 10:54hgbotCheckin
2011-02-28 10:54hgbotNote Added: 0034399
2011-02-28 10:54hgbotStatusscheduled => resolved
2011-02-28 10:54hgbotResolutionopen => fixed
2011-02-28 10:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5db9f78864bc6978c443627a219cf4b540bd286b [^]
2011-03-09 17:32elopioNote Added: 0034707
2011-03-09 17:32elopioStatusresolved => new
2011-03-09 17:32elopioResolutionfixed => open
2011-03-09 17:33elopioFile Added: out.ogv
2011-03-10 11:47hgbotCheckin
2011-03-10 11:47hgbotNote Added: 0034721
2011-03-10 11:47hgbotStatusnew => resolved
2011-03-10 11:47hgbotResolutionopen => fixed
2011-03-10 11:47hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/5db9f78864bc6978c443627a219cf4b540bd286b [^] => http://code.openbravo.com/erp/devel/pi/rev/f4b7264735781aa2ad489844f08a3e024da8dd55 [^]
2011-03-10 16:37elopioNote Added: 0034737
2011-03-10 16:37elopioStatusresolved => closed
2011-03-10 16:37elopioFixed in Version => pi
2011-03-11 00:00anonymoussf_bug_id0 => 3205843

Notes
(0034399)
hgbot   
2011-02-28 10:54   
Repository: erp/devel/pi
Changeset: 5db9f78864bc6978c443627a219cf4b540bd286b
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Feb 28 10:54:04 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5db9f78864bc6978c443627a219cf4b540bd286b [^]

Fixes issue 16064: Autosave error is triggered when closing a tab, even if the form wasn't touched

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
---
(0034707)
elopio   
2011-03-09 17:32   
This issue is still happening to me, with most recent pi.
See attached video.
(0034721)
hgbot   
2011-03-10 11:47   
Repository: erp/devel/pi
Changeset: f4b7264735781aa2ad489844f08a3e024da8dd55
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Mar 10 11:43:52 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f4b7264735781aa2ad489844f08a3e024da8dd55 [^]

Made open window more robust, Fixes issue 16064: Autosave error is triggered when closing a tab, even if the form wasn't touched

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-window.js
---
(0034737)
elopio   
2011-03-10 16:37   
I've just tried it on the most recent pi, and it works now.
Thanks.