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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047863
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] Restaurantsmajorhave not tried2021-10-15 11:162021-10-26 15:34
Reportertimothee_catteeuwView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionTAP
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionTAP
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

0047863: JIRA 2409 - errors after copying a menu

DescriptionErrors are displayed in developer mode when you want to copy a selected menu and after selecting this option for the rest of the sales process.

After using this feature, sales process is blocked in case of our client because in their version they cannot finalize sales.

This error appears in that case :

Converting circular structure to JSON --> starting at object with constructor 'HTMLDivElement' | property '__reactFiber$fryr4xmncv' -> object with constructor 'Fl' --- property 'stateNode' closes the circle

On livebuilds, errors only appears in developer mode and you can finalyze your transactions
Steps To ReproduceGo to https://livebuilds.openbravo.com/retail_pos2_tap_pgsql/web/pos/?terminal=VBS-2 [^]
Login as vallblanca
go to Restaurant schema
select menu category
select grouped menu
select 4 products in that menu
Click left twice on menu appeared on ticket at left
A popup is displayed
Click '+' button once
An error is displayed in developer console :
createPersistoid.js:73 redux-persist/createPersistoid: error serializing state TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'HTMLDivElement'
    | property '__reactFiber$dw6c00nmux' -> object with constructor 'Wl'
    --- property 'stateNode' closes the circle
    at JSON.stringify (<anonymous>)
    at p (createPersistoid.js:126)
    at y (createPersistoid.js:71)
But a second menu is correctly added to the basket
Go back to the ticket by clicking back button
Click pay
Another error is displayed in developer console
createPersistoid.js:73 redux-persist/createPersistoid: error serializing state TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'HTMLDivElement'
    | property '__reactFiber$6nfz9pt5fft' -> object with constructor 'Wl'
    --- property 'stateNode' closes the circle
    at JSON.stringify (<anonymous>)
    at p (createPersistoid.js:126)
    at y (createPersistoid.js:71)
Select cash, many errors errors are displayed in developper console
CLick, once again many errors errors are displayed in developper console
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0047860 closedjorge-garcia JIRA 2409 - errors after copying a menu 

-  Notes
(0132646)
jorge-garcia (reporter)
2021-10-26 13:09

MR created:

https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2.restaurant/-/merge_requests/30 [^]
(0132651)
jorge-garcia (reporter)
2021-10-26 15:34

MR merged

https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2.restaurant/-/merge_requests/30 [^]

- Issue History
Date Modified Username Field Change
2021-10-15 14:21 guilleaer Type defect => backport
2021-10-15 14:22 guilleaer Status scheduled => acknowledged
2021-10-22 13:24 jorge-garcia Assigned To Retail => jorge-garcia
2021-10-22 13:25 jorge-garcia Status acknowledged => scheduled
2021-10-26 13:09 jorge-garcia Note Added: 0132646
2021-10-26 15:34 jorge-garcia Note Added: 0132651
2021-10-26 15:34 jorge-garcia Status scheduled => resolved
2021-10-26 15:34 jorge-garcia Resolution open => fixed
2021-10-26 15:34 jorge-garcia Status resolved => closed
2021-10-26 15:34 jorge-garcia Fixed in Version => TAP


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker