Openbravo Issue Tracking System - POS2
View Issue Details
0046347POS2POSpublic2021-04-26 09:202021-04-28 14:09
lorenzofidalgo 
Retail 
immediatemajoralways
closedduplicate 
5
pi 
 
guilleaer
Automated tests
No
0046347: Switch schema throws an error and it can not be performed
When POS2 user tries to switch schema, it is not performed and an error is thrown in the Console: "Uncaught TypeError: r is not a function" (check attached img and log).
Video of the aforementioned behaviour: https://drive.google.com/file/d/1R_47EYF61p-MdmMCn5vb7wifNW2VqZ39/view?usp=sharing [^]

Reproducible in Windows 10 and Ubuntu 18.04.5 LTS and Chrome with the following 2 versions:
90.0.4430.85 (Build oficial) (64 bits)
91.0.4472.19 (Build oficial) beta (64 bits)
0-Login POS2 as vallblanca.
1-In case Initial Count is required, match it and click finish.
2-At the top right corner, click the current schema (e.g. Store) and click in a different schema (e.g. Terrace). DEFECT: Check Console and realise an uncaught error is shown there.
No tags attached.
duplicate of defect 0046368 closed cberner User action SelectCurrentSchema fails to execute on Order/payment for VallBlancaUser wrong permission 
png ErrorSwitchingSchema.png (110,514) 2021-04-26 09:20
https://issues.openbravo.com/file_download.php?file_id=15572&type=bug
png

log ErrorSwitchingSchema.log (1,178) 2021-04-26 09:20
https://issues.openbravo.com/file_download.php?file_id=15573&type=bug
Issue History
2021-04-26 09:20lorenzofidalgoNew Issue
2021-04-26 09:20lorenzofidalgoAssigned To => Retail
2021-04-26 09:20lorenzofidalgoFile Added: ErrorSwitchingSchema.png
2021-04-26 09:20lorenzofidalgoRegression level => Automated tests
2021-04-26 09:20lorenzofidalgoTriggers an Emergency Pack => No
2021-04-26 09:20lorenzofidalgoFile Added: ErrorSwitchingSchema.log
2021-04-26 09:42lorenzofidalgoFile Added: ErrorSwitchingSchema.mov
2021-04-26 09:43lorenzofidalgoFile Deleted: ErrorSwitchingSchema.mov
2021-04-26 09:44lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=22366#r22366
2021-04-26 09:52lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=22367#r22367
2021-04-28 14:09guilleaerReview Assigned To => guilleaer
2021-04-28 14:09guilleaerRelationship addedduplicate of 0046368
2021-04-28 14:09guilleaerNote Added: 0127620
2021-04-28 14:09guilleaerStatusnew => closed
2021-04-28 14:09guilleaerResolutionopen => duplicate

Notes
(0127620)
guilleaer   
2021-04-28 14:09   
This issue is fixed by the fix provided for the following issue:
https://issues.openbravo.com/view.php?id=46368 [^]