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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031667
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-12-09 09:562015-12-28 19:12
ReporteralostaleView Statuspublic 
Assigned ToOrekaria 
PriorityimmediateResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revision4191367d16e0
ProjectionnoneETAnoneTarget VersionRR16Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031667: unlimited terminals licenses don't allow to create terminals

DescriptionWhen activating an instance with a license with unlimited POS terminals, it is not possible to have any active terminal.
Steps To Reproduce1. Obtain a license with unlimited POS terminals
2. In an retail instance login as system admin and try to activate the instance with that license
    -> ERROR: "The maximum number of allowed active POS terminals in this instance, -1, has been exceeded."
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 00310903.0PR16Q1 closedalostale Openbravo ERP Implement Retail licensing model 

-  Notes
(0082622)
hgbot (developer)
2015-12-09 15:49

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4191367d16e034a57be67b16bb7992397b536a56
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Dec 09 15:48:34 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4191367d16e034a57be67b16bb7992397b536a56 [^]

fixed bug 31667: unlimited terminals licenses don't allow to create terminals

  When checking if current license is unlimited (coded as -1L) the comparision
  was incorrectly performed by checking instance equality rather than values.

  Fixed by using Long.equals instead of == operator.

---
M src/org/openbravo/retail/posterminal/security/POSLicenseRestrictions.java
---
(0082623)
hgbot (developer)
2015-12-09 15:53

Repository: erp/devel/pi
Changeset: b9e9226226ff13472e87e02536da925c26f447c1
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Dec 09 15:52:19 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b9e9226226ff13472e87e02536da925c26f447c1 [^]

related to issue 31667: incorrect about message for unlimited POS licenses

  Unlimited POS licenses displayed incorrectly POS limitations: it showed -1 were
  it should be "unlimited".

  This was caused by incorrect Long comparsion.

  Fixed by using Long.equals instead of == operator.

---
M src/org/openbravo/erpCommon/obps/ActivationKey.java
---
(0082630)
hudsonbot (developer)
2015-12-09 21:38

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/fd2b88269a44 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2015-12-09 09:56 alostale New Issue
2015-12-09 09:56 alostale Assigned To => alostale
2015-12-09 09:56 alostale Triggers an Emergency Pack => No
2015-12-09 10:18 alostale Relationship added related to 0031090
2015-12-09 15:26 alostale Review Assigned To => AugustoMauch
2015-12-09 15:26 alostale Steps to Reproduce Updated View Revisions
2015-12-09 15:49 hgbot Checkin
2015-12-09 15:49 hgbot Note Added: 0082622
2015-12-09 15:49 hgbot Status new => resolved
2015-12-09 15:49 hgbot Resolution open => fixed
2015-12-09 15:49 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4191367d16e034a57be67b16bb7992397b536a56 [^]
2015-12-09 15:53 hgbot Checkin
2015-12-09 15:53 hgbot Note Added: 0082623
2015-12-09 21:38 hudsonbot Checkin
2015-12-09 21:38 hudsonbot Note Added: 0082630
2015-12-28 19:11 Orekaria Status resolved => closed
2015-12-28 19:11 Orekaria Fixed in Version => RR16Q1
2015-12-28 19:12 Orekaria Assigned To alostale => Orekaria


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker