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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026955
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2014-06-26 21:542014-09-22 13:28
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 Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026955: Sometimes the ad_user_id is sent null to the backend provoking an error

DescriptionSometimes the ad_user_id is sent null to the backend provoking an error
Steps To ReproduceClean cache
Load the WebPOS
Rinse and repeat

Note: You can also run the AHundredWebPageLoads test from pi-mobile and eventually will happen


Verify that these tomcat error are logged:

2014-08-19 02:01:36,400 [TP-Processor12] ERROR org.openbravo.base.VariablesBase - setSessionValue error: #FormatOutput|amountInform:...#,##0.00
...
2014-08-19 02:01:36,401 [TP-Processor12] ERROR org.openbravo.base.VariablesBase - setSessionObject error: #FormatMap:...java.lang.IllegalStateException: setAttribute: Session already invalidated
...
2014-08-19 02:01:36,401 [TP-Processor12] ERROR org.openbravo.mobile.core.process.MobileService - HTTPSecureAppServlet.service() - exception caught:
javax.servlet.ServletException: SessionLogin load - user is null
    at org.openbravo.erpCommon.security.SessionLogin.<init>(SessionLogin.java:76)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.saveLoginBD(HttpSecureAppServlet.java:1178)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:317)
    at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:92)
    at org.openbravo.mobile.core.process.WebServiceAuthenticatedServlet.service(WebServiceAuthenticatedServlet.java:52)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
    at java.lang.Thread.run(Thread.java:701)
TagsNo tags attached.
Attached Filespng file icon 23:36:33 ERROR: The login process failed to load the WebPOS.png [^] (47,994 bytes) 2014-06-26 21:54

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0027370 closedOrekaria Openbravo ERP Stabilization: When the session is invalidated the backend should not try to retrieve session attributes 
depends on defect 0027200 closedOrekaria Retail Modules Stabilization: Current user/role has no access to class org.openbravo.retail.posterminal.term.Terminal 
blocks defect 0027337 acknowledgedRetail Retail Modules Stabilization: No tomcat errors while running the WebPOS 

-  Notes
(0068425)
Orekaria (administrator)
2014-06-27 18:56
edited on: 2014-06-27 18:57

Sometimes a javascript error is shown saying that getSelected() returns undefined in this code:

  changeRole: function (inSender, inEvent) {
    this.doSelectRole({
      newRoleId: this.children[this.getSelected()].getValue()
    });
  }

(0068851)
hgbot (developer)
2014-07-23 18:32

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a885a6401b851ae706b5b33d2498aa4576eade66
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Jul 23 18:32:13 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a885a6401b851ae706b5b33d2498aa4576eade66 [^]

Relate to issue 26955: a missing role will not cause the WebPOS to fail...
 this does not fix the error but, at least, does not break the WebPOS

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-profile.js
---
(0068852)
hgbot (developer)
2014-07-23 20:03

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d9c9193a4a5930d0a5f4ec533057a5ebf267ca1c
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Jul 23 20:03:22 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d9c9193a4a5930d0a5f4ec533057a5ebf267ca1c [^]

Related to issue 26955: if there is no role, return

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-profile.js
---
(0068905)
hgbot (developer)
2014-07-28 11:34

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 215696b1521c22d94d4dc8634bc7d8f56cfccaff
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Jul 28 11:34:40 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/215696b1521c22d94d4dc8634bc7d8f56cfccaff [^]

Related to issue 26955: changeRole and changeOrganization do not raise...
... exceptions if undefined values are trying to be computed

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-profile.js
---
(0069629)
Orekaria (administrator)
2014-08-23 01:14

These error is no longer shown because the fix for the issue 27200
(0070235)
migueldejuana (developer)
2014-09-22 13:28

Tested and reviewed in 79500303f4b7

- Issue History
Date Modified Username Field Change
2014-06-26 21:54 Orekaria New Issue
2014-06-26 21:54 Orekaria Assigned To => marvintm
2014-06-26 21:54 Orekaria File Added: 23:36:33 ERROR: The login process failed to load the WebPOS.png
2014-06-26 21:54 Orekaria Triggers an Emergency Pack => No
2014-06-27 15:04 Orekaria Issue Monitored: Orekaria
2014-06-27 15:05 Orekaria Issue End Monitor: Orekaria
2014-06-27 18:56 Orekaria Note Added: 0068425
2014-06-27 18:57 Orekaria Note Edited: 0068425 View Revisions
2014-07-18 12:19 shuehner Issue Monitored: shuehner
2014-07-23 18:32 hgbot Checkin
2014-07-23 18:32 hgbot Note Added: 0068851
2014-07-23 20:03 hgbot Checkin
2014-07-23 20:03 hgbot Note Added: 0068852
2014-07-28 11:34 hgbot Checkin
2014-07-28 11:34 hgbot Note Added: 0068905
2014-08-19 09:00 Orekaria Steps to Reproduce Updated View Revisions
2014-08-19 09:01 Orekaria Relationship added depends on 0027248
2014-08-19 09:01 Orekaria Relationship added blocks 0027337
2014-08-19 09:35 Orekaria Steps to Reproduce Updated View Revisions
2014-08-19 09:35 Orekaria Steps to Reproduce Updated View Revisions
2014-08-19 11:51 Orekaria Relationship added depends on 0027370
2014-08-23 01:14 Orekaria Status new => scheduled
2014-08-23 01:14 Orekaria Note Added: 0069629
2014-08-23 01:14 Orekaria Assigned To marvintm => Orekaria
2014-08-23 01:14 Orekaria fix_in_branch => pi
2014-08-23 01:14 Orekaria Relationship added depends on 0027200
2014-08-23 01:14 Orekaria Relationship deleted depends on 0027248
2014-09-02 22:18 Orekaria Status scheduled => resolved
2014-09-02 22:18 Orekaria Fixed in Version => RR14Q4
2014-09-02 22:18 Orekaria Resolution open => fixed
2014-09-22 13:28 migueldejuana Review Assigned To => migueldejuana
2014-09-22 13:28 migueldejuana Note Added: 0070235
2014-09-22 13:28 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker