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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047860
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Restaurantsmajorhave not tried2021-10-15 11:162021-10-26 15:28
Reportertimothee_catteeuwView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047860: 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 Filesdiff file icon I47860_proposedsolution.diff [^] (3,236 bytes) 2021-10-21 16:11 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0047863TAP closedjorge-garcia JIRA 2409 - errors after copying a menu 

-  Notes
(0132490)
hgbot (developer)
2021-10-20 15:02

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/711 [^]
(0132553)
hgbot (developer)
2021-10-22 09:06

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/87 [^]
(0132568)
hgbot (developer)
2021-10-22 10:56

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/711 [^]
(0132649)
hgbot (developer)
2021-10-26 15:28

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: 76eb355c430779dfeca314318ee79ef8f4e47d4b
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 2021-10-26T13:26:43+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/76eb355c430779dfeca314318ee79ef8f4e47d4b [^]

Fixed ISSUE-47860: Removed HTMLDivElement in menus when increasing or decreasing the qty

Solve additional problem when increasing/decreasing the qty of the menu where the new
qty is added in a new line always

---
M web-jspack/org.openbravo.pos2.restaurant/src/model/food-menu/TicketLineMenuHeaderInfo.config.json
M web-jspack/org.openbravo.pos2.restaurant/src/model/user-interface/__test__/AddProductHooks.test.js
M web-jspack/org.openbravo.pos2.restaurant/src/model/user-interface/user-actions/AddProductHooks.js
---
(0132650)
hgbot (developer)
2021-10-26 15:28

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/87 [^]

- Issue History
Date Modified Username Field Change
2021-10-15 11:16 timothee_catteeuw New Issue
2021-10-15 11:16 timothee_catteeuw Assigned To => Retail
2021-10-15 11:16 timothee_catteeuw Triggers an Emergency Pack => No
2021-10-15 11:21 timothee_catteeuw Description Updated View Revisions
2021-10-15 11:21 timothee_catteeuw Summary JIRA 2409 - errors when copying a menu => JIRA 2409 - errors after copying a menu
2021-10-15 14:21 guilleaer Status new => scheduled
2021-10-15 14:21 guilleaer Status scheduled => acknowledged
2021-10-15 14:39 sntgreale Assigned To Retail => sntgreale
2021-10-15 14:39 sntgreale Status acknowledged => scheduled
2021-10-20 15:02 hgbot Note Added: 0132490
2021-10-21 16:11 jorge-garcia File Added: I47860_proposedsolution.diff
2021-10-22 09:06 hgbot Note Added: 0132553
2021-10-22 10:56 hgbot Note Added: 0132568
2021-10-22 13:03 jorge-garcia Assigned To sntgreale => jorge-garcia
2021-10-22 13:03 jorge-garcia Review Assigned To => AugustoMauch
2021-10-26 10:58 guilleaer Target Version TAP =>
2021-10-26 15:28 hgbot Resolution open => fixed
2021-10-26 15:28 hgbot Status scheduled => closed
2021-10-26 15:28 hgbot Note Added: 0132649
2021-10-26 15:28 hgbot Note Added: 0132650


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker