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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031118
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-10-09 10:242015-10-19 14:27
ReportermalsasuaView Statuspublic 
Assigned ToOrekaria 
PriorityhighResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revisiona111297a3369
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionpiSCM revision 
Merge Request Status
Review Assigned Tomarvintm
OBNetwork customerOBPS
Support ticket37586
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031118: terminal authentication is not working with a role without permission to void layaway

Descriptionif you do a login with a role without permission to void a layaway, the thermintal authentification is not working.
Error is returned when receipt is paid:

serviceSuccess error: status: -1, error.message: Current user/role has no access to class org.openbravo.retail.posterminal.CheckTerminalAuth; line: serviceSuccess (http://196.201.20.234:50087/obtest/web/js/gen/1af912c5b4d8fca2b421331f55463f62_WebPOS.js:38:4 [^]) (*,+)
Steps To Reproduce. enable terminal authentication:
 preference: "Terminal Authentication enabled" to Y - Client: white valley

. disable the permission to void layaway
 preference with "Web POS action void layaway" to N - Client White Valley
. go to WEB POS -> store PS-1
. do login with posets
. do a receipt -> never is synced.
In console, error is returned:
serviceSuccess error: status: -1, error.message: Current user/role has no access to class org.openbravo.retail.posterminal.CheckTerminalAuth; line: serviceSuccess (https://livebuilds.openbravo.com/retail_pi_pgsql/web/js/gen/3c64eb4adb95408ed989f0d4f1dd6a1b_WebPOS.js:1033:10 [^]) (*,+)
Proposed Solutionfile: org.openbravo.retail.posterminal/src/org/openbravo/retail/posterminal/CheckTerminalAuth.java
protected String getProperty() {
    return "OBPOS_receipt.voidLayaway";
  }

should be replaced by:
protected String getProperty() {
   return "";
}
TagsNo tags attached.
Attached Filesdiff file icon patchTermAuth.diff [^] (401 bytes) 2015-10-09 13:51 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0031120 closedfmolina autobom module is not working when there are warehouse rules with type PInstance 

-  Notes
(0080925)
hgbot (developer)
2015-10-09 16:14

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a111297a3369db3a56f3da92366fdb730a7264e4
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Fri Oct 09 15:52:49 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a111297a3369db3a56f3da92366fdb730a7264e4 [^]

Fixes issue 31118: There is no permission required for terminal authentication

---
M src/org/openbravo/retail/posterminal/CheckTerminalAuth.java
---
(0081070)
hgbot (developer)
2015-10-19 11:59

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 31e085fb0546f87a211a02d4c54511e798316533
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Oct 19 11:59:07 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/31e085fb0546f87a211a02d4c54511e798316533 [^]

Related to issue 31118. Removed unnecessary method overrite

---
M src/org/openbravo/retail/posterminal/CheckTerminalAuth.java
---
(0081090)
hgbot (developer)
2015-10-19 14:27

Repository: tools/automation/pi-mobile
Changeset: 9ea0ecfc418bc9c581ea622a2677f6bcc92771bc
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Oct 13 15:53:32 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/9ea0ecfc418bc9c581ea622a2677f6bcc92771bc [^]

Verifies issue 31118: Add the 'I31118_PermissionToAuthRequired' test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/I31118_PermissionToAuthRequired.java
---

- Issue History
Date Modified Username Field Change
2015-10-09 10:24 malsasua New Issue
2015-10-09 10:24 malsasua Assigned To => Retail
2015-10-09 10:24 malsasua OBNetwork customer => Yes
2015-10-09 10:24 malsasua Support ticket => 37586
2015-10-09 10:24 malsasua Resolution time => 1445032800
2015-10-09 10:24 malsasua Triggers an Emergency Pack => No
2015-10-09 10:39 Orekaria Status new => acknowledged
2015-10-09 10:58 malsasua Relationship added related to 0031120
2015-10-09 13:51 malsasua File Added: patchTermAuth.diff
2015-10-09 16:14 hgbot Checkin
2015-10-09 16:14 hgbot Note Added: 0080925
2015-10-09 16:14 hgbot Status acknowledged => resolved
2015-10-09 16:14 hgbot Resolution open => fixed
2015-10-09 16:14 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a111297a3369db3a56f3da92366fdb730a7264e4 [^]
2015-10-13 09:45 marvintm Assigned To Retail => Orekaria
2015-10-13 12:17 Orekaria Review Assigned To => marvintm
2015-10-19 11:59 hgbot Checkin
2015-10-19 11:59 hgbot Note Added: 0081070
2015-10-19 11:59 marvintm Status resolved => closed
2015-10-19 11:59 marvintm Fixed in Version => RR16Q1
2015-10-19 14:27 hgbot Checkin
2015-10-19 14:27 hgbot Note Added: 0081090


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker