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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035144
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServermajoralways2017-02-02 16:492017-02-08 09:43
ReportergorkaionView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035144: [Store Server 2402]Stateless Authentication not working with External Order Loader

DescriptionWhen using a implementation of External Order Loader with a stateless WebService is not working.

OBContext is loaded with System Administrator role. So only client '0' and org '0' are accessible by default.
Steps To ReproduceReproduce in BUT environment;

== Prerequisites ==
On a BUT Snapshot delivered on 2017-01-30 or later. Or having the module com.openbravo.but.integration.ecommerce.

== Steps ==

Try to send a Sales Order using the EcommerceCreateOrderWS webService using a stateless request

Resource: /openbravo/org.openbravo.mobile.core.service.jsonrest/com.openbravo.but.integration.ecommerce.webservices.EcommerceCreateOrderWS
Parameters: synchronizedProcessing=true&stateless=true
content: attached create-order-example.json

Check that not setting the staless=true paremeter it works
Check again using the stateless request and the order is not processed.

TagsNo tags attached.
Attached Files? file icon create-order-example.json [^] (2,964 bytes) 2017-02-02 16:49

- Relationships Relation Graph ] Dependency Graph ]
duplicate of feature request 00351723.0PR17Q2 closedmtaal Openbravo ERP In case of stateless request make sure OBContext is set and let VariableBase and other core ERP code not create a session 
related to defect 0035140 closedmtaal Retail Modules [Store Server 2401]Basic Authentication not working with External Order Loader 

-  Notes
(0094099)
hgbot (developer)
2017-02-06 17:43

Repository: erp/pmods/org.openbravo.retail.postest
Changeset: 6f49287ef977338bb83a86e5e4cc9ca75dfa64e5
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Feb 06 17:43:39 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.postest/rev/6f49287ef977338bb83a86e5e4cc9ca75dfa64e5 [^]

Related to issue 35144: [Store Server 2402]Stateless Authentication not working with External Order Loader
Add subclass to test creation of session in case of stateless request

---
A src/org/openbravo/retail/postest/TestExternalOrderLoader.java
---

- Issue History
Date Modified Username Field Change
2017-02-02 16:49 gorkaion New Issue
2017-02-02 16:49 gorkaion Assigned To => mtaal
2017-02-02 16:49 gorkaion File Added: create-order-example.json
2017-02-02 16:49 gorkaion Resolution time => 1487199600
2017-02-02 16:49 gorkaion Triggers an Emergency Pack => No
2017-02-02 16:49 gorkaion Issue generated from 0035140
2017-02-02 16:49 gorkaion Relationship added related to 0035140
2017-02-06 17:36 mtaal Relationship added caused by 0035172
2017-02-06 17:43 hgbot Checkin
2017-02-06 17:43 hgbot Note Added: 0094099
2017-02-08 09:42 mtaal Relationship replaced duplicate of 0035172
2017-02-08 09:43 mtaal Status new => closed
2017-02-08 09:43 mtaal Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker