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

View Revisions: Issue #45950 All Revisions ] Back to Issue ]
Summary 0045950: Cross Origin errors are thrown visiting the NewPOS
Revision 2024-01-10 12:28 by lorenzofidalgo
Description The following error is shown after vising more than once the NewPOS login page:
"Blocked a frame with origin "https://livebuilds.openbravo.com" [^] from accessing a cross-origin frame."
It has been reproduced in CI and much more easily with Cypress automated tests in local against NewPOS livebuilds. Check the attached videos since they are pretty informative to narrow the error down.
( https://drive.google.com/file/d/1P5tRmXshhWF1nxebrLMjMZ1Mas_X8cVm/view?usp=sharing [^] )
( https://drive.google.com/file/d/1ZWKLQUILVfztzT2aUDCKDIruO1lCBmsn/view?usp=sharing [^] )
( https://drive.google.com/file/d/1f_7-d0aXxPejKK21xdThVOcp4wezKwgW/view?usp=sharing [^] )
This seems to be related with Service Workers because the browser unblocks the sitauation after service workers are cleaned. Besides, after checking when the issue started to happen (around 15th February), a merge containing Service Workers changes was introduced in core2. So it seems to be related (but not sure 100%).

To be able to unblock Cypress tests and continue the executions, chromeWebSecurity has been disabled. To reproduce this issue, it is required to backout the following changeset: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/ab3429626be38c53f337e1a1136b9696db5121b3 [^]
Revision 2021-02-26 13:52 by lorenzofidalgo
Description The following error is shown after vising more than once the NewPOS login page:
"Blocked a frame with origin "https://livebuilds.openbravo.com" [^] from accessing a cross-origin frame."
It has been reproduced in CI and much more easily with Cypress automated tests in local against NewPOS livebuilds. Check the attached videos since they are pretty informative to narrow the error down.
( https://drive.google.com/file/d/1P5tRmXshhWF1nxebrLMjMZ1Mas_X8cVm/view?usp=sharing [^] )
( https://drive.google.com/file/d/1ZWKLQUILVfztzT2aUDCKDIruO1lCBmsn/view?usp=sharing [^] )
( https://drive.google.com/file/d/1f_7-d0aXxPejKK21xdThVOcp4wezKwgW/view?usp=sharing [^] )
This seems to be related with Service Workers because the browser unblocks the sitauation after service workers are cleaned. Besides, after checking when the issue started to happen (around 15th February), a merge containing Service Workers changes was introduced in core2. So it seems to be related (but not sure 100%).

To be able to unblock Cypress tests and continue the executions, chromeWebSecurity has been disabled. To track this issue, it is required to backout the following changeset: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/ab3429626be38c53f337e1a1136b9696db5121b3 [^]
Revision 2021-02-25 11:44 by lorenzofidalgo
Description The following error is shown after vising more than once the NewPOS login page:
"Blocked a frame with origin "https://livebuilds.openbravo.com" [^] from accessing a cross-origin frame."
It has been reproduced in CI and much more easily with Cypress automated tests in local against NewPOS livebuilds. Check the attached videos since they are pretty informative to narrow the error down.
( https://drive.google.com/file/d/1P5tRmXshhWF1nxebrLMjMZ1Mas_X8cVm/view?usp=sharing [^] )
( https://drive.google.com/file/d/1ZWKLQUILVfztzT2aUDCKDIruO1lCBmsn/view?usp=sharing [^] )
( https://drive.google.com/file/d/1f_7-d0aXxPejKK21xdThVOcp4wezKwgW/view?usp=sharing [^] )
This seems to be related with Service Workers because the browser unblocks the sitauation after service workers are cleaned. Besides, after checking when the issue started to happen (around 15th February), a merge containing Service Workers changes was introduced in core2. So it seems to be related (but not sure 100%).


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker