Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019108
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformcriticalhave not tried2011-11-18 11:072011-11-22 03:50
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revision030efbbc0df1
ProjectionnoneETAnoneTarget Version3.0MP5.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019108: License expiration validation is not properly checked

DescriptionLicense expiration validation is not properly checked.

When license expires, it is not checked till tomcat is restarted or license is refreshed.

Technically the problem is due license manager is a singleton class and these checks are performed on initialization.
Steps To Reproduce-Activate your instance with a license
-Wait till expiration date without restarting tomcat nor refreshing the license
-After expiration date, check the instance is still active till next refresh
Proposed SolutionKeep license manager as singleton, but do date checking on getInstance
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00191073.0MP5.1 closedalostale License expiration validation is not properly checked 

-  Notes
(0042972)
hgbot (developer)
2011-11-18 11:15

Repository: erp/devel/pi
Changeset: a538c52f8e465825b387821fbfd274e70279e47f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Nov 18 11:14:08 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a538c52f8e465825b387821fbfd274e70279e47f [^]

fixed bug 19108: License expiration validation is not properly checked

---
M src/org/openbravo/erpCommon/obps/ActivationKey.java
---
(0042973)
alostale (manager)
2011-11-18 11:20

Incorrect patch
(0042990)
hgbot (developer)
2011-11-18 14:58

Repository: erp/stable/2.50
Changeset: 030efbbc0df18fec0d03e51d5bf7a35503a925ed
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Sun Dec 18 14:57:27 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/030efbbc0df18fec0d03e51d5bf7a35503a925ed [^]

fixed bug 19108: License expiration validation is not properly checked

---
M src/org/openbravo/erpCommon/obps/ActivationKey.java
---
(0042991)
marvintm (developer)
2011-11-18 15:41

Reviewed the diff and tested that non-activated instances work, activated instances with a valid license also work, and that when the license expires, the error is shown when the user tries to log in, and he is logged in system admin role.
(0043053)
hudsonbot (developer)
2011-11-22 03:50

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/ebd713dfe507 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-11-18 11:14 alostale Type defect => backport
2011-11-18 11:14 alostale fix_in_branch => 2.50
2011-11-18 11:15 hgbot Checkin
2011-11-18 11:15 hgbot Note Added: 0042972
2011-11-18 11:15 hgbot Status scheduled => resolved
2011-11-18 11:15 hgbot Resolution open => fixed
2011-11-18 11:15 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a538c52f8e465825b387821fbfd274e70279e47f [^]
2011-11-18 11:20 alostale Note Added: 0042973
2011-11-18 11:20 alostale Status resolved => new
2011-11-18 11:20 alostale Resolution fixed => open
2011-11-18 14:58 hgbot Checkin
2011-11-18 14:58 hgbot Note Added: 0042990
2011-11-18 14:58 hgbot Status new => resolved
2011-11-18 14:58 hgbot Resolution open => fixed
2011-11-18 14:58 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/a538c52f8e465825b387821fbfd274e70279e47f [^] => http://code.openbravo.com/erp/stable/2.50/rev/030efbbc0df18fec0d03e51d5bf7a35503a925ed [^]
2011-11-18 15:41 marvintm Note Added: 0042991
2011-11-18 15:41 marvintm Status resolved => closed
2011-11-22 03:50 hudsonbot Checkin
2011-11-22 03:50 hudsonbot Note Added: 0043053


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker