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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027200
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2014-07-25 12:362014-09-25 21:30
ReporterOrekariaView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in VersionRR14Q4
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027200: Stabilization: Current user/role has no access to class org.openbravo.retail.posterminal.term.Terminal

DescriptionThis error shown by the WebPOS, but there is also a trace in the tomcat log

2014-07-25 07:38:28,253 [TP-Processor5] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - User ADUser(0) (name: System) with role ADRole(0) (name: System Administrator) has no access to class org.openbravo.retail.posterminal.term.CashMgmtDropEvents
2014-07-25 07:38:28,266 [TP-Processor5] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - User ADUser(0) (name: System) with role ADRole(0) (name: System Administrator) has no access to class org.openbravo.retail.posterminal.term.BusinessPartner
2014-07-25 07:39:04,589 [TP-Processor7] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - User ADUser(0) (name: System) with role ADRole(0) (name: System Administrator) has no access to class org.openbravo.retail.posterminal.term.CashMgmtDepositEvents
2014-07-25 07:39:04,634 [TP-Processor7] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - User ADUser(0) (name: System) with role ADRole(0) (name: System Administrator) has no access to class org.openbravo.retail.posterminal.term.BusinessPartner
2014-07-25 07:39:04,713 [TP-Processor5] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - User ADUser(0) (name: System) with role ADRole(0) (name: System Administrator) has no access to class org.openbravo.retail.posterminal.term.Terminal
2014-07-25 07:39:04,725 [TP-Processor1] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - User ADUser(0) (name: System) with role ADRole(0) (name: System Administrator) has no access to class org.openbravo.retail.posterminal.term.PriceList
2014-07-25 07:39:04,741 [TP-Processor8] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - User ADUser(0) (name: System) with role ADRole(0) (name: System Administrator) has no access to class org.openbravo.retail.posterminal.term.CashMgmtDropEvents
2014-07-25 07:39:04,748 [TP-Processor1] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - User ADUser(0) (name: System) with role ADRole(0) (name: System Administrator) has no access to class org.openbravo.retail.posterminal.term.WritableOrganizations
2014-07-25 07:39:04,749 [TP-Processor5] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - User ADUser(0) (name: System) with role ADRole(0) (name: System Administrator) has no access to class org.openbravo.retail.posterminal.term.Warehouses
2014-07-25 07:39:04,760 [TP-Processor3] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - User ADUser(0) (name: System) with role ADRole(0) (name: System Administrator) has no access to class org.openbravo.retail.posterminal.term.Payments
2014-07-25 07:39:04,767 [TP-Processor1] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - User ADUser(0) (name: System) with role ADRole(0) (name: System Administrator) has no access to class org.openbravo.retail.posterminal.term.Currency
2014-07-25 07:39:04,777 [TP-Processor8] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - User ADUser(0) (name: System) with role ADRole(0) (name: System Administrator) has no access to class org.openbravo.retail.posterminal.term.PriceListVersion


This exception is thrown because the WebPOS is trying to load the Posterminal environment before the login has successfully finished

partial console trace

// good flow
event fired: initializedCommonComponents
event fired: viewRendered

// exception flow
event fired: initializedCommonComponents
loading... cashMgmtDepositEvents
loading... cashMgmtDropEvents
event fired: terminalInfoLoaded
(4) serviceGET org.openbravo.retail.posterminal.term.Terminal
(6) serviceGET org.openbravo.retail.posterminal.term.Payments
(7) serviceGET org.openbravo.retail.posterminal.term.CashMgmtDepositEvents
(8) serviceGET org.openbravo.retail.posterminal.term.CashMgmtDropEvents
(9) serviceGET org.openbravo.retail.posterminal.term.BusinessPartner
(10) serviceGET org.openbravo.retail.posterminal.term.Location
(11) serviceGET org.openbravo.retail.posterminal.term.PriceList
(12) serviceGET org.openbravo.retail.posterminal.term.Warehouses
(13) serviceGET org.openbravo.retail.posterminal.term.PriceListVersion
(14) serviceGET org.openbravo.retail.posterminal.term.Currency
XHR finished loading: GET "http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…il.posterminal.term.CashMgmtDepositEvents/%7B%22appName%22:%22WebPOS%22%7D". xhr.js:44
["cashMgmtDepositEvents"] "is/are loaded"
XHR finished loading: GET "http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…etail.posterminal.term.CashMgmtDropEvents/%7B%22appName%22:%22WebPOS%22%7D". xhr.js:44
["cashMgmtDropEvents"] "is/are loaded"
Steps To ReproduceLoad the Login page
Reload (keep reloading until the error is shown)
TagsNo tags attached.
Attached Filespng file icon noaccess.png [^] (50,760 bytes) 2014-08-14 13:22

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0027337 acknowledgedRetail Stabilization: No tomcat errors while running the WebPOS 
blocks defect 0027380 closedOrekaria Stabilization: After log in, sometimes, the server is returning a 401: non authorized code 
blocks defect 0027248 closedmarvintm Sometimes the session expires before it should, use a different servlet/url for retrieving content before login 
blocks defect 0026955 closedOrekaria Sometimes the ad_user_id is sent null to the backend provoking an error 

-  Notes
(0069368)
Orekaria (administrator)
2014-08-14 11:44

the warning is fired by SecuredJSONProcess.java

log.warn("User " + OBContext.getOBContext().getUser() + " with role " + OBContext.getOBContext().getRole() + " has no access to " + this.getClass());
(0069604)
hgbot (developer)
2014-08-22 11:22

Repository: erp/devel/pi
Changeset: cf11c0384bf8515b1f8c5785265234cbc8c06dd8
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Aug 22 11:21:55 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cf11c0384bf8515b1f8c5785265234cbc8c06dd8 [^]

Related to issue 27200: If the authentication is not required, return null

---
M src/org/openbravo/authentication/AuthenticationManager.java
---
(0069605)
hgbot (developer)
2014-08-22 11:25

Repository: erp/devel/pi
Changeset: 40db62dc5cd89f9cbef12c45f8154170b2c82b4f
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Aug 22 11:24:44 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/40db62dc5cd89f9cbef12c45f8154170b2c82b4f [^]

Related to issue 27200: Better comment

---
M src/org/openbravo/authentication/AuthenticationManager.java
---
(0069644)
hudsonbot (developer)
2014-08-23 16:30

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/81b875753850 [^]
Maturity status: Test
(0069645)
hudsonbot (developer)
2014-08-23 16:30

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/81b875753850 [^]
Maturity status: Test
(0069664)
hgbot (developer)
2014-08-24 06:15

Repository: erp/devel/pi
Changeset: 8355dc1cb215a40c47aaad72eb1909ffc56ab34e
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Aug 24 06:14:12 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8355dc1cb215a40c47aaad72eb1909ffc56ab34e [^]

Related to issue 27200: If the authentication is not required, return null
- the check has changed its location

---
M src/org/openbravo/authentication/AuthenticationManager.java
---
(0069670)
hudsonbot (developer)
2014-08-24 15:47

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/0e088398c072 [^]
Maturity status: Test
(0069678)
hgbot (developer)
2014-08-24 18:14

Repository: erp/devel/pi
Changeset: eb39cf6f117ad4221008cf2fca5eba4111829884
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Aug 24 18:13:24 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/eb39cf6f117ad4221008cf2fca5eba4111829884 [^]

Related to issue 27200: If the authentication is not required, return null
Onl return null if no userId was determined

---
M src/org/openbravo/authentication/AuthenticationManager.java
---
(0069693)
hudsonbot (developer)
2014-08-25 02:43

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/f8ce5a3b8dcb [^]
Maturity status: Test
(0070410)
mtaal (manager)
2014-09-25 21:30

Reviewed

- Issue History
Date Modified Username Field Change
2014-07-25 12:36 Orekaria New Issue
2014-07-25 12:36 Orekaria Assigned To => marvintm
2014-07-25 12:36 Orekaria Triggers an Emergency Pack => No
2014-07-25 12:46 Orekaria Summary Warn raised: User ADUser(0) (name: System) with role ADRole(0) has no access to class <class_name> => Backend WARN: User ADUser(0) (name: System) with role ADRole(0) has no access to class <class_name>
2014-08-14 11:44 Orekaria Note Added: 0069368
2014-08-14 13:14 Orekaria Steps to Reproduce Updated View Revisions
2014-08-14 13:17 Orekaria Relationship added depends on 0027337
2014-08-14 13:17 Orekaria Relationship deleted depends on 0027337
2014-08-14 13:18 Orekaria Relationship added blocks 0027337
2014-08-14 13:22 Orekaria File Added: noaccess.png
2014-08-14 15:25 Orekaria Steps to Reproduce Updated View Revisions
2014-08-14 15:26 Orekaria Description Updated View Revisions
2014-08-14 15:26 Orekaria Steps to Reproduce Updated View Revisions
2014-08-19 12:46 Orekaria Summary Backend WARN: User ADUser(0) (name: System) with role ADRole(0) has no access to class <class_name> => Stabilization: Current user/role has no access to class org.openbravo.retail.posterminal.term.Terminal
2014-08-19 12:46 Orekaria Description Updated View Revisions
2014-08-22 11:22 hgbot Checkin
2014-08-22 11:22 hgbot Note Added: 0069604
2014-08-22 11:22 Orekaria Status new => scheduled
2014-08-22 11:22 Orekaria Assigned To marvintm => Orekaria
2014-08-22 11:22 Orekaria fix_in_branch => pi
2014-08-22 11:22 Orekaria Issue Monitored: mtaal
2014-08-22 11:25 hgbot Checkin
2014-08-22 11:25 hgbot Note Added: 0069605
2014-08-22 13:04 Orekaria Relationship added blocks 0027380
2014-08-22 19:54 hgbot Checkin
2014-08-22 19:54 hgbot Note Added: 0069618
2014-08-22 23:08 Orekaria Relationship added blocks 0027248
2014-08-23 01:14 Orekaria Relationship added blocks 0026955
2014-08-23 16:30 hudsonbot Checkin
2014-08-23 16:30 hudsonbot Note Added: 0069644
2014-08-23 16:30 hudsonbot Checkin
2014-08-23 16:30 hudsonbot Note Added: 0069645
2014-08-24 06:15 hgbot Checkin
2014-08-24 06:15 hgbot Note Added: 0069664
2014-08-24 06:16 Orekaria Note Deleted: 0069618
2014-08-24 15:47 hudsonbot Checkin
2014-08-24 15:47 hudsonbot Note Added: 0069670
2014-08-24 18:14 hgbot Checkin
2014-08-24 18:14 hgbot Note Added: 0069678
2014-08-25 02:43 hudsonbot Checkin
2014-08-25 02:43 hudsonbot Note Added: 0069693
2014-09-02 22:17 Orekaria Status scheduled => resolved
2014-09-02 22:17 Orekaria Fixed in Version => RR14Q4
2014-09-02 22:17 Orekaria Resolution open => fixed
2014-09-25 21:30 mtaal Review Assigned To => mtaal
2014-09-25 21:30 mtaal Note Added: 0070410
2014-09-25 21:30 mtaal Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker