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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047257
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POScriticalhave not tried2021-06-28 10:502021-06-28 15:31
ReportercbernerView Statuspublic 
Assigned Tocberner 
PriorityhighResolutionfixedFixed in VersionTAP
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionTAP
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047257: Profile change invalidates current session, requiring log-in again

DescriptionWhen changing profile, the session is invalidated, making it impossible to switch profile or pay tickets without relogging. It is not possible to switch back to the previous profile either, without relogging.

This makes profile button/feature useless, as it requires marking by default a profile, instead of using the expected switch to x profile, as expected.

In backend when the profile changes this is the message that appears in tomcat log:
2021-06-28 10:39:38,095 [http-nio-8080-exec-1] ERROR org.openbravo.mobile.core.process.MobileService - CSRF token check failed. Request=/openbravo/org.openbravo.mobile.core.service.jsonrest/org.openbravo.retail.posterminal.OrderLoader, SessionID=A0A04E29ED22683F1153877A5C1CAED7, SessionToken=3F503F025D9D40629D3BFDC99098FDD5, RequestToken=8FB1701AE7E14C48B6D25C88F2E8E4A7
Steps To Reproduce1. Open and login in WebPOS
2. Click on user and Profile, change it to something else
3. Try to pay a ticket, or opening profile popup again. (it will fail with a similar error as in attached screenshot)

You may reproduce it in livebuilds: https://livebuilds.openbravo.com/retail_pos2_pgsql/web/pos/?terminal=VBS-2 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0047255 closedcberner Profile change invalidates current session, requiring log-in again 

-  Notes
(0129858)
cberner (developer)
2021-06-28 15:30

MR created here: https://gitlab.com/obcustomers/AGAP/org.openbravo.core2/-/merge_requests/35 [^]

- Issue History
Date Modified Username Field Change
2021-06-28 13:11 cberner Type defect => backport
2021-06-28 13:11 cberner Target Version => TAP
2021-06-28 15:30 cberner Note Added: 0129858
2021-06-28 15:30 cberner Status scheduled => resolved
2021-06-28 15:30 cberner Fixed in Version => TAP
2021-06-28 15:30 cberner Resolution open => fixed
2021-06-28 15:31 cberner Review Assigned To => caristu
2021-06-28 15:31 cberner Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker