Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019271Openbravo ERP01. General setuppublic2011-12-09 13:322012-01-24 13:34
jonalegriaesarte 
alostale 
highminoralways
closedfixed 
5
3.0MP7.1 
3.0MP8 
Google Chrome
Core
No
0019271: Error 0 when enabling a disabled module
Error 0 when enabling a disabled module
- Module management console
- Install hello world module
- Disable it
- Enable it, the error attached appears.

Notice that the module is enabled after click OK.
No tags attached.
png error0.png (45,945) 2011-12-09 13:32
https://issues.openbravo.com/file_download.php?file_id=4825&type=bug
png

png Selection_029.png (59,388) 2012-01-20 10:54
https://issues.openbravo.com/file_download.php?file_id=4922&type=bug
png
Issue History
2011-12-09 13:32jonalegriaesarteNew Issue
2011-12-09 13:32jonalegriaesarteAssigned To => alostale
2011-12-09 13:32jonalegriaesarteFile Added: error0.png
2011-12-09 13:32jonalegriaesarteModules => Core
2011-12-12 10:13alostaleNote Added: 0043783
2011-12-12 10:13alostaleAssigned Toalostale => jonalegriaesarte
2011-12-12 10:13alostaleStatusnew => feedback
2011-12-30 10:25jonalegriaesarteTarget Version3.0MP7 => 3.0MP8
2012-01-12 13:16jonalegriaesarteNote Added: 0044298
2012-01-12 13:16jonalegriaesarteStatusfeedback => closed
2012-01-12 13:16jonalegriaesarteResolutionopen => unable to reproduce
2012-01-17 12:35VictorVillarNote Added: 0044425
2012-01-17 12:35VictorVillarStatusclosed => new
2012-01-17 12:35VictorVillarResolutionunable to reproduce => open
2012-01-17 12:42jonalegriaesarteAssigned Tojonalegriaesarte => alostale
2012-01-20 08:42VictorVillarResolution time => 1329951600
2012-01-20 08:42VictorVillarSeveritymajor => minor
2012-01-20 08:42VictorVillarReproducibilityhave not tried => always
2012-01-20 08:42VictorVillarversionpi => 3.0MP7.1
2012-01-20 08:42VictorVillarIssue Monitored: networkb
2012-01-20 09:01VictorVillarWeb browser => Google Chrome
2012-01-20 10:54alostaleFile Added: Selection_029.png
2012-01-20 10:56alostaleNote Added: 0044460
2012-01-20 11:35hgbotCheckin
2012-01-20 11:35hgbotNote Added: 0044462
2012-01-20 11:35hgbotStatusnew => resolved
2012-01-20 11:35hgbotResolutionopen => fixed
2012-01-20 11:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fcf34718278a084f50e53604ff0b995e4e209dfe [^]
2012-01-20 11:36alostaleNote Added: 0044463
2012-01-23 12:39VictorVillarNote Added: 0044477
2012-01-23 12:39VictorVillarStatusresolved => closed
2012-01-24 13:34hudsonbotCheckin
2012-01-24 13:34hudsonbotNote Added: 0044503

Notes
(0043783)
alostale   
2011-12-12 10:13   
I'm not able to reproduce this issue following the described steps (tried in Chrome and FF).

If you can reproduce it, could you attach javascript and openbravo logs?
(0044298)
jonalegriaesarte   
2012-01-12 13:16   
Not reproducible
(0044425)
VictorVillar   
2012-01-17 12:35   
I have been able to reproduce in MP 7.1 only in Chrome, I had installed some modules as for example: "MĂ©todos de pago" or "Multidimensional Tax report" and I have followed the same steps to reproduce:

- Disable it, the error attached appears.after click OK, the module is disabled.
- Enable it, the error attached appears.after click OK, a second popup error appears with the same error, after click OK, the module is enabled.

It works fine after click Ok in the error.
(0044460)
alostale   
2012-01-20 10:56   
The error is caused by a cancelled request.

The Enable link is within a div that calls GenericTreeServlet to populate module info, before this request is completed, a new one to do the actual enabling is executed making the previous one to be cancelled.
(0044462)
hgbot   
2012-01-20 11:35   
Repository: erp/devel/pi
Changeset: fcf34718278a084f50e53604ff0b995e4e209dfe
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jan 20 11:34:47 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fcf34718278a084f50e53604ff0b995e4e209dfe [^]

fixed bug 19271: Error when enabling a disabled module

---
M src/org/openbravo/erpCommon/ad_forms/ModuleManagementInstalled.html
M src/org/openbravo/erpCommon/security/Login.html
M src/org/openbravo/erpCommon/security/Login_F1.html
M web/js/genericTree.js
M web/js/utils.js
---
(0044463)
alostale   
2012-01-20 11:36   
The fix disabled the call to populate node info when enable button is clicked. It affects just to this case so it is riskless.
(0044477)
VictorVillar   
2012-01-23 12:39   
Verified
(0044503)
hudsonbot   
2012-01-24 13:34   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9a942bd15053 [^]

Maturity status: Test