Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014237Openbravo ERPA. Platformpublic2010-08-18 15:482012-05-25 12:09
shuehner 
migueldejuana 
normalminorhave not tried
closedfixed 
5
pi 
3.0MP12 
Core
No
0014237: When deactivating an instance the log-prefix is not removed until tomcat is restarted.
An activated instance does have a special prefix in each log-line (crc of license).
When deactivating an instance this prefix is not removed from the runtime config until the next tomcat restart.
No tags attached.
Issue History
2010-08-18 15:48shuehnerNew Issue
2010-08-18 15:48shuehnerAssigned To => alostale
2010-08-30 09:07alostaleStatusnew => scheduled
2012-04-26 16:32alostaleAssigned Toalostale => migueldejuana
2012-05-03 11:54hgbotCheckin
2012-05-03 11:54hgbotNote Added: 0048315
2012-05-03 11:54hgbotStatusscheduled => resolved
2012-05-03 11:54hgbotResolutionopen => fixed
2012-05-03 11:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f8c95f9c6117f12670c0896d2ed11cde9abd3a96 [^]
2012-05-03 12:22migueldejuanaNote Added: 0048318
2012-05-16 08:39alostaleNote Added: 0048672
2012-05-16 08:39alostaleStatusresolved => closed
2012-05-16 08:39alostaleFixed in Version => 3.0MP12
2012-05-25 12:09hudsonbotCheckin
2012-05-25 12:09hudsonbotNote Added: 0048999

Notes
(0048315)
hgbot   
2012-05-03 11:54   
Repository: erp/devel/pi
Changeset: f8c95f9c6117f12670c0896d2ed11cde9abd3a96
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu May 03 11:35:33 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f8c95f9c6117f12670c0896d2ed11cde9abd3a96 [^]

Fixed issue 14237: log-prefix (crc of license) is removed when deactivating
opsLog variable was setted to false in loadInfo method, it prevent in setLogger method to remove the log-prefix and set the opsLog to false again.

---
M src/org/openbravo/erpCommon/obps/ActivationKey.java
---
(0048318)
migueldejuana   
2012-05-03 12:22   
Test plan:

- Active and Deactive the instance looking the log.
- Active and restart Tomcat looking the log.
- Deactive and restart Tomcat looking the log.
(0048672)
alostale   
2012-05-16 08:39   
Code reviewed and tested on pi@d4ef642f1e2a

Additional test plan:
-After activating/deactivating without restarting tomcat verify isActiveInstance method returns correct value (it uses opsLog boolean changed by this fix)
(0048999)
hudsonbot   
2012-05-25 12:09   
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/5401e185a8b0 [^]

Maturity status: Test