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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036318
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2017-06-23 10:032017-06-29 12:20
ReporternataliagView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in VersionRR17Q3
StatusclosedFix in branchFixed in SCM revision5bf9edce0371
ProjectionnoneETAnoneTarget Version
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

0036318: Error in log files caused by request trying to log in web POS

DescriptionUsing version 17Q1.1, sometimes, when tomcat is restarted and we try to access to a POS terminal, the error attached (logError.txt) appears and it is not possible to log in.
Steps To Reproduce1- Stop and restart tomcat server.
2- Access the URL of the POS terminal
3- Try to log in and look at the log. The error attached (logError.txt) appears.
Proposed SolutionLine 118 of MobileServerUtils.java is:

      multiServerControllerEnabled = isMultiServerEnabled(
          OBContext.getOBContext().getCurrentClient(),
          OBContext.getOBContext().getCurrentOrganization());

it seems that OBContext.getOBContext() is null...
TagsNo tags attached.
Attached Files? file icon logError [^] (4,716 bytes) 2017-06-23 10:03 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0038391 closedAugustoMauch Under certain circumstances server log will start throwing null pointer exceptions. 

-  Notes
(0097725)
hgbot (developer)
2017-06-27 21:20

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5bf9edce0371a4ef84781c565201edcc39f7d01f
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Jun 27 21:19:36 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5bf9edce0371a4ef84781c565201edcc39f7d01f [^]

Fixes issue 36318: Error in log files caused by request trying to log in web POS
Use admincontext to load the preference

---
M src/org/openbravo/mobile/core/servercontroller/MobileServerUtils.java
---
(0097745)
hgbot (developer)
2017-06-28 22:48

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: cadda5be6be4136170b167f848923e169c7bd1fa
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jun 28 22:42:15 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/cadda5be6be4136170b167f848923e169c7bd1fa [^]

Related to issue 36318: Error in log files caused by request trying to log in web POS
Use the setAdminMode with boolean parameter

---
M src/org/openbravo/mobile/core/servercontroller/MobileServerUtils.java
---
(0097758)
AugustoMauch (manager)
2017-06-29 12:20

Code reviewed and verified

- Issue History
Date Modified Username Field Change
2017-06-23 10:03 nataliag New Issue
2017-06-23 10:03 nataliag Assigned To => Retail
2017-06-23 10:03 nataliag File Added: logError
2017-06-23 10:03 nataliag Resolution time => 1499983200
2017-06-23 10:03 nataliag Triggers an Emergency Pack => No
2017-06-23 12:11 mtaal Assigned To Retail => mtaal
2017-06-27 21:19 mtaal Review Assigned To => AugustoMauch
2017-06-27 21:20 hgbot Checkin
2017-06-27 21:20 hgbot Note Added: 0097725
2017-06-27 21:20 hgbot Status new => resolved
2017-06-27 21:20 hgbot Resolution open => fixed
2017-06-27 21:20 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5bf9edce0371a4ef84781c565201edcc39f7d01f [^]
2017-06-28 16:34 maite Issue Monitored: networkb
2017-06-28 22:48 hgbot Checkin
2017-06-28 22:48 hgbot Note Added: 0097745
2017-06-29 12:20 AugustoMauch Note Added: 0097758
2017-06-29 12:20 AugustoMauch Status resolved => closed
2017-06-29 12:20 AugustoMauch Fixed in Version => RR17Q3
2018-06-08 08:19 jorgewederago Relationship added has duplicate 0038391


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker