Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036250Openbravo ERPA. Platformpublic2017-06-14 08:462017-06-16 19:02
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
3.0PR17Q3 
AugustoMauch
Core
No
0036250: Log if a stateless service creates a session
The code here should be extended to log a warning message if a session was created during the service.

[1]
https://code.openbravo.com/erp/devel/pi/file/f33a32b03c29/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java#l365 [^]

[2]
https://code.openbravo.com/erp/devel/pi/file/f33a32b03c29/src/org/openbravo/service/web/BaseWebServiceServlet.java#l103 [^]
Run stateless webservice tests (part of retail test suite), in one of the stateless webservices forcefully create a session to check the session being created.
Check if a session is present before the logic, check that a session was created and if so then log a warning.
No tags attached.
has duplicate design defect 0036233RR17Q3 closed mtaal Retail Modules Log if a stateless service creates a session 
Issue History
2017-06-14 08:46mtaalNew Issue
2017-06-14 08:46mtaalAssigned To => mtaal
2017-06-14 08:46mtaalModules => Core
2017-06-14 08:46mtaalTriggers an Emergency Pack => No
2017-06-14 08:47mtaalRelationship addedhas duplicate 0036233
2017-06-14 08:47mtaalReview Assigned To => AugustoMauch
2017-06-14 08:48mtaalSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15358#r15358
2017-06-14 08:48hgbotCheckin
2017-06-14 08:48hgbotNote Added: 0097383
2017-06-14 08:48hgbotStatusnew => resolved
2017-06-14 08:48hgbotResolutionopen => fixed
2017-06-14 08:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/921b3de9e420b62c8607e04d4f0a2ac154e81ed2 [^]
2017-06-14 08:56hgbotCheckin
2017-06-14 08:56hgbotNote Added: 0097384
2017-06-14 11:26AugustoMauchNote Added: 0097387
2017-06-14 11:26AugustoMauchStatusresolved => closed
2017-06-16 19:02hudsonbotCheckin
2017-06-16 19:02hudsonbotNote Added: 0097458
2017-06-16 19:02hudsonbotCheckin
2017-06-16 19:02hudsonbotNote Added: 0097459

Notes
(0097383)
hgbot   
2017-06-14 08:48   
Repository: erp/devel/pi
Changeset: 921b3de9e420b62c8607e04d4f0a2ac154e81ed2
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jun 14 08:48:29 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/921b3de9e420b62c8607e04d4f0a2ac154e81ed2 [^]

Fixes issue 36250: Log if a stateless service creates a session
Check if a session was present and if not if it got created, if so log a message

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
M src/org/openbravo/service/web/BaseWebServiceServlet.java
---
(0097384)
hgbot   
2017-06-14 08:56   
Repository: erp/devel/pi
Changeset: 3640713e1a91a51ca08e03362ab0729eb3788897
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jun 14 08:56:18 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3640713e1a91a51ca08e03362ab0729eb3788897 [^]

Related to issue 36250: Log if a stateless service creates a session
Fix typo

---
M src/org/openbravo/service/web/BaseWebServiceServlet.java
---
(0097387)
AugustoMauch   
2017-06-14 11:26   
Code reviewed and verified
(0097458)
hudsonbot   
2017-06-16 19:02   
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/38c05e8441a9 [^]
Maturity status: Test
(0097459)
hudsonbot   
2017-06-16 19:02   
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/38c05e8441a9 [^]
Maturity status: Test