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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053199
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorsometimes2023-08-10 13:232023-08-11 07:32
ReportercaristuView Statuspublic 
Assigned ToRajesh_18 
PriorityhighResolutionopenFixed in Version
StatusscheduledFix 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

0053199: Cannot login after refreshing the POS having a closed receipt opened

DescriptionCannot login after refreshing the POS having a closed receipt opened
Steps To Reproduce1) Login in the pos
2) Navigate to the Orders window and open an order
3) Refresh the browser (F5)
4) After that is not possible to access to the application (see attached)
Proposed SolutionThe error is caused by the function updateSalesRepOfDraftTicket[1]. The execution of this function ends up invoking the ticket hooks that recalculate the taxes of the ticket, which in some cases may throw an OB.App.Class.TaxEngineError causing the problem.

According to the function name shouldn't this function perform no action if the ticket is not a draft Ticket?

[1]https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/authentication/loginInitActions.js#L566 [^]
TagsNo tags attached.
Attached Filespng file icon loginError.png [^] (22,601 bytes) 2023-08-10 13:23

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0153436)
hgbot (developer)
2023-08-11 07:32

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2008 [^]

- Issue History
Date Modified Username Field Change
2023-08-10 13:23 caristu New Issue
2023-08-10 13:23 caristu Assigned To => Triage Platform Base
2023-08-10 13:23 caristu File Added: loginError.png
2023-08-10 13:23 caristu Triggers an Emergency Pack => No
2023-08-10 13:23 caristu Proposed Solution updated
2023-08-10 13:25 caristu Assigned To Triage Platform Base => Retail
2023-08-10 13:25 caristu Category Core => POS
2023-08-10 15:06 Rajesh_18 Assigned To Retail => Rajesh_18
2023-08-10 15:06 Rajesh_18 Status new => scheduled
2023-08-11 07:32 hgbot Note Added: 0153436


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker