Openbravo Issue Tracking System - POS2
View Issue Details
0046335POS2POSpublic2021-04-23 09:532021-05-03 09:37
jmelin 
jmelin 
highmajorsometimes
closedduplicate 
30Openbravo Appliance 14.04
 
 
guilleaer
No
0046335: JIRA 1748 - Message 'ActionCanceled' on POS after application update
When the POS has already been connected to central and an update is made on central server then you have the message 'ActionCanceled' .
You need then to clean cache to access POS again
1. Connect to VBS-2 POS at D-1 and log in
2. At D-0, application may have been updated, connect to VBS-2 POS
=> you have first an initialization error and then message 'Action Cancelled' when clicking on ok
Takeaway
duplicate of defect 0046439 closed gorka_gil Reset app state on sources update 
png ActionCanceled.PNG (20,328) 2021-04-23 09:53
https://issues.openbravo.com/file_download.php?file_id=15570&type=bug
png

png Application_can_be_initialized.PNG (26,002) 2021-04-23 10:27
https://issues.openbravo.com/file_download.php?file_id=15571&type=bug
png
Issue History
2021-04-23 09:53jmelinNew Issue
2021-04-23 09:53jmelinAssigned To => Retail
2021-04-23 09:53jmelinFile Added: ActionCanceled.PNG
2021-04-23 09:53jmelinTriggers an Emergency Pack => No
2021-04-23 09:53jmelinTag Attached: Takeaway
2021-04-23 10:26jmelinNote Added: 0127492
2021-04-23 10:26jmelinNote Added: 0127494
2021-04-23 10:27jmelinFile Added: Application_can_be_initialized.PNG
2021-04-28 08:57guilleaerNote Added: 0127608
2021-04-28 08:57guilleaerAssigned ToRetail => jmelin
2021-04-28 08:57guilleaerStatusnew => feedback
2021-05-03 09:37guilleaerRelationship addedrelated to 0046439
2021-05-03 09:37guilleaerReview Assigned To => guilleaer
2021-05-03 09:37guilleaerRelationship replacedduplicate of 0046439
2021-05-03 09:37guilleaerStatusfeedback => closed
2021-05-03 09:37guilleaerResolutionopen => duplicate

Notes
(0127492)
jmelin   
2021-04-23 10:26   
At first after login, when we have error message saying "Application can not be initialized", we have this in the console

POS2.js:3247 Error initializing application: ActionCanceled; line: (*)
(anonymous) @ POS2.js:3247
i @ POS2.js:3846
(anonymous) @ POS2.js:3875
authenticate @ LoginProcess.js:69
async function (async)
authenticate @ LoginProcess.js:51
onSubmit @ LoginForm.jsx:90
He @ react-dom.production.min.js:52
Ye @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
Sr @ react-dom.production.min.js:100
Or @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
Ie @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Nr @ react-dom.production.min.js:105
Jt @ react-dom.production.min.js:75
Zt @ react-dom.production.min.js:74
(anonymous) @ scheduler.production.min.js:18
Vo @ react-dom.production.min.js:122
Me @ react-dom.production.min.js:292
(0127494)
jmelin   
2021-04-23 10:26   
Then when the error 'ActionCanceled' is shown:

react-dom.production.min.js:216 ActionCanceled: ActionCanceled
    at Dc (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/static/js/1.6af21b0e.chunk.js:1:328348 [^])
    at Rc.executeHooks (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/static/js/main.c54a2614.chunk.js:1:15729 [^])
    at Rc.executePreHooks (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/static/js/main.c54a2614.chunk.js:1:15504 [^])
    at Rc.launch (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/static/js/main.c54a2614.chunk.js:1:12654 [^])
    at async Pd (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/static/js/1.6af21b0e.chunk.js:1:346624 [^])
    at async Array.wd (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/static/js/1.6af21b0e.chunk.js:1:354218 [^])
    at async t.a.executeAll (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/static/js/main.c54a2614.chunk.js:1:16500 [^])
    at async s (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/static/js/main.c54a2614.chunk.js:1:24382 [^])
    at async t.b (https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/static/js/main.c54a2614.chunk.js:1:39985 [^])
uu @ react-dom.production.min.js:216
POS2.js:3247 ActionCanceled; line: (*)
(0127608)
guilleaer   
2021-04-28 08:57   
Unable to reproduce.

As you know we are creating a new applicattion and we are not taking into account weird scenearios between updates.

We should assume this until application is more stable in terms of versions