Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027560 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | trivial | have not tried | 2014-09-09 08:55 | 2014-09-22 10:29 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR14Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | ec2461a9b752 | ||||
Projection | none | ETA | none | Target Version | 3.0PR14Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | shankarb | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0027560: instance mismatch using trial license to refresh an expired instance with no sys identifier | |||||||
Description | When fresh professional instance with an expired license and no system identifier (ie. Retail virtual appliance) is activated with a Trial license, it becomes unusable after Tomcat is restarted. "This professional license is issued for a different Openbravo instance. Therefore, this instance cannot be activated." alert is shown in login and only System Admin can enter the application. | |||||||
Steps To Reproduce | -Download retail appliance: http://releaser1.openbravo.com/releases/3.0RR14Q3/appliances/openbravo-3.0RR14Q3-vmware-i386.zip [^] -Log in as Openbravo (license is expired so it will log as System Admin) -DO NOT activate Heartbeat -Get a Trial License -Open Instance Activation window and activate with that license -Restart Tomcat -Subsequent logins show "This professional license is issued for a different Openbravo instance. Therefore, this instance cannot be activated." message | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0070040) hgbot (developer) 2014-09-09 09:12 |
Repository: erp/devel/pi Changeset: ec2461a9b7529705c4149c809af19e05122ea2d7 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue Sep 09 09:10:32 2014 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/ec2461a9b7529705c4149c809af19e05122ea2d7 [^] fixes 27560: can't use expired instance refresed with trial without sys id An instance without sys id that was previously activated with an expired license and is activated with a trial can't be used anymore. This was caused because: -Expired licenses a tried to be renewed behind the scenes to do so, sys id is required but as there is none a new one is created but not persisted in DB -When requesting trial activation that previously generated sys id is used and the licence is associated to it -Finally data is refreshed from db, and as the sys id was not persisted a new one is created and saved. Causing the mismatch with the id linked to the license --- M src/org/openbravo/erpCommon/utility/SystemInfo.java --- |
(0070226) shankarb (viewer) 2014-09-22 10:29 |
Code reviewed and verified in pi changeset 99b060690c1f. |
![]() |
|||
Date Modified | Username | Field | Change |
2014-09-09 08:55 | alostale | New Issue | |
2014-09-09 08:55 | alostale | Assigned To | => alostale |
2014-09-09 08:55 | alostale | OBNetwork customer | => No |
2014-09-09 08:55 | alostale | Modules | => Core |
2014-09-09 08:55 | alostale | Triggers an Emergency Pack | => No |
2014-09-09 08:57 | alostale | Review Assigned To | => shankarb |
2014-09-09 09:12 | hgbot | Checkin | |
2014-09-09 09:12 | hgbot | Note Added: 0070040 | |
2014-09-09 09:12 | hgbot | Status | new => resolved |
2014-09-09 09:12 | hgbot | Resolution | open => fixed |
2014-09-09 09:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ec2461a9b7529705c4149c809af19e05122ea2d7 [^] |
2014-09-22 10:29 | shankarb | Note Added: 0070226 | |
2014-09-22 10:29 | shankarb | Status | resolved => closed |
2014-09-22 10:29 | shankarb | Fixed in Version | => 3.0PR14Q4 |
Copyright © 2000 - 2009 MantisBT Group |