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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058006
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] Coremajorhave not tried2025-02-17 13:382025-02-17 14:44
ReportercbernerView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in Version24Q4.1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version24Q4.2
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

0058006: Login blocked because of an error related to an inconsistent state

DescriptionLogin fails with an error related to inconsistent state. This error does not happen in livebuilds, but it does happen in some specific clients. It seems to be due to some cashup state already being available, but not in its entirety.
Steps To ReproduceNot reproducible in livebuilds, and not very clear steps to reproduce.

1. Initialize an environment
2. Try to login in WebPOS2

In some occasions the state includes ticket + an existing empty cashup, in that case, the error is thrown. The error was attached as part of this issue.
Proposed SolutionProperly handle checking Ticket.id and Cashup.id, instead of the objects, which usually exist but are empty.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0058004 closedcberner Login blocked because of an error related to an inconsistent state 

-  Notes
(0175772)
hgbot (developer)
2025-02-17 13:44

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1777 [^]
(0175776)
hgbot (developer)
2025-02-17 14:44

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 95737b0c259f2cd8d152ed2d8c3962013a3de53e
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 17-02-2025 13:44:00
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/commit/95737b0c259f2cd8d152ed2d8c3962013a3de53e [^]

Fixes ISSUE-58006: Login blocked because of an error related to an inconsistent state

The checkStateValidity function was not taking into account empty ticket
object or a missing cashup id.

---
M web-jspack/org.openbravo.core2/src/authentication/loginInitActions.js
---
(0175777)
hgbot (developer)
2025-02-17 14:44

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1777 [^]

- Issue History
Date Modified Username Field Change
2025-02-17 13:38 cberner Type defect => backport
2025-02-17 13:38 cberner Target Version => 24Q4.2
2025-02-17 13:44 hgbot Note Added: 0175772
2025-02-17 14:44 hgbot Resolution open => fixed
2025-02-17 14:44 hgbot Status scheduled => closed
2025-02-17 14:44 hgbot Fixed in Version => 24Q4.1
2025-02-17 14:44 hgbot Note Added: 0175776
2025-02-17 14:44 hgbot Note Added: 0175777


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker