Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2015-08-30 07:342015-09-16 09:18
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revisionc99e1110f899
ProjectionnoneETAnoneTarget VersionRR15Q4
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

0030701: Offline login and then server getting back does not work fine

DescriptionWhen doing an offline login no authentication token is created, so these are send as undefined to the server resulting in errors there. See screenshots.

65651 [http-8080-3] ERROR - HTTPSecureAppServlet.service() - exception caught:
org.openbravo.base.exception.OBException: Exception when decrypting undefined
    at org.openbravo.authentication.AuthenticationManager.authenticate(
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(
    at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(
    at javax.servlet.http.HttpServlet.service(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.codehaus.enunciate.webapp.HTTPRequestContextFilter.doFilter(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.openbravo.utils.SessionExpirationFilter.doFilter(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.openbravo.utils.CharsetFilter.doFilter(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.openbravo.client.kernel.KernelFilter$1.doAction(
    at org.openbravo.client.kernel.KernelFilter.doFilter(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(
    at org.openbravo.dal.core.DalRequestFilter.doFilter(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.apache.catalina.core.StandardWrapperValve.invoke(
    at org.apache.catalina.core.StandardContextValve.invoke(
    at org.apache.catalina.core.StandardHostValve.invoke(
    at org.apache.catalina.valves.ErrorReportValve.invoke(
    at org.apache.catalina.core.StandardEngineValve.invoke(
    at org.apache.catalina.connector.CoyoteAdapter.service(
    at org.apache.coyote.http11.Http11Processor.process(
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(
    ... 42 more
Steps To ReproduceLogin normally in webpos
create a ticket
bring server down
do offline login
enter a ticket
check the console/network from chrome developer tools
TagsNo tags attached.
Attached Filespng file icon Selection_102.png [^] (332,111 bytes) 2015-08-30 07:34
png file icon Selection_103.png [^] (92,012 bytes) 2015-08-30 07:34

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0030560 closedmigueldejuana Pending synchronization info is not working fine 
blocks feature request 0029912 closedmtaal WebPOS Transparent Multi-Server Environments 

-  Notes
mtaal (manager)
2015-08-30 07:37

Also change the message after an order is closed, currently it says data synchronization successful.

The data sync successful should be shown after the data is sent to a main server.
hgbot (developer)
2015-09-09 08:52

Repository: erp/pmods/
Changeset: c99e1110f8997d04360e3b349ae0fc37ce4df34f
Author: Martin Taal <martin.taal <at>>
Date: Tue Sep 08 17:18:05 2015 +0200
URL: [^]

Fixes issue 30701: Offline login and then server getting back does not work fine
Handle exceptions in a more subtle way

M src/org/openbravo/mobile/core/authenticate/
migueldejuana (developer)
2015-09-16 09:18

Tested and reviewed in 5fa909d5e1af

- Issue History
Date Modified Username Field Change
2015-08-30 07:34 mtaal New Issue
2015-08-30 07:34 mtaal Assigned To => mtaal
2015-08-30 07:34 mtaal File Added: Selection_102.png
2015-08-30 07:34 mtaal Triggers an Emergency Pack => No
2015-08-30 07:34 mtaal File Added: Selection_103.png
2015-08-30 07:34 mtaal Relationship added related to 0030560
2015-08-30 07:37 mtaal Note Added: 0079817
2015-09-09 08:52 hgbot Checkin
2015-09-09 08:52 hgbot Note Added: 0080253
2015-09-09 08:52 hgbot Status new => resolved
2015-09-09 08:52 hgbot Resolution open => fixed
2015-09-09 08:52 hgbot Fixed in SCM revision => [^]
2015-09-09 10:08 mtaal Relationship added blocks 0029912
2015-09-15 14:06 mtaal Review Assigned To => migueldejuana
2015-09-16 09:18 migueldejuana Note Added: 0080427
2015-09-16 09:18 migueldejuana Status resolved => closed
2015-09-16 09:18 migueldejuana Fixed in Version => RR15Q4

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker