Openbravo Issue Tracking System - POS2
View Issue Details
0053448POS2Corepublic2023-09-13 10:442024-05-08 12:05
cberner 
Triage Platform Base 
normalmajorhave not tried
closedduplicate 
5
 
24Q2 
No
Coding ( Testing )
2023-08-22
main
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/61b04671c0613741cdc7bf028e4276cbd015badf [^]
No
0053448: CompanyLogo fails on ErrorFallback if state is not loaded
If state is not loaded yet, or it fails for some reason.

An ob-init.js could fail on register, if that happens the state is not yet present and the CompanyLogo fails in the ErrorFallback component, resulting in the application showing only the CompanyLogo error and failing to show the original problem.

CompanyLogo should not use state if it is not available, it is currently using it to detect dark-light mode.
1. Add an error to a register function in any ob-init.js file
2. Try to refresh the application and check console log.

Console.log shows that the problem comes from CompanyLogo, which is not true.
No tags attached.
duplicate of defect 0054239 closed cberner Error page is not shown if the error occurs during registry process 
png Screenshot from 2023-09-13 09-36-29.png (191,397) 2023-09-13 10:44
https://issues.openbravo.com/file_download.php?file_id=18954&type=bug
png
Issue History
2023-09-13 10:44cbernerNew Issue
2023-09-13 10:44cbernerAssigned To => Triage Platform Base
2023-09-13 10:44cbernerFile Added: Screenshot from 2023-09-13 09-36-29.png
2023-09-13 10:44cbernerOBNetwork customer => No
2023-09-13 10:44cbernerRegression level => Coding ( Testing )
2023-09-13 10:44cbernerRegression date => 2023-08-22
2023-09-13 10:44cbernerRegression introduced in release => main
2023-09-13 10:44cbernerRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/61b04671c0613741cdc7bf028e4276cbd015badf [^]
2023-09-13 10:44cbernerTriggers an Emergency Pack => No
2024-05-07 16:38lorenzofidalgoTarget Version => 24Q2
2024-05-08 12:05AugustoMauchRelationship addedduplicate of 0054239
2024-05-08 12:05AugustoMauchStatusnew => closed
2024-05-08 12:05AugustoMauchResolutionopen => duplicate

There are no notes attached to this issue.