Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grid content blocked by cross site rules in iframe when running in DWC or BUI embedded in a page from another URL #256

Closed
StephanWald opened this issue May 17, 2023 · 1 comment
Assignees
Labels
Type: Bug The issue documents broken, incorrect, or confusing behavior.

Comments

@StephanWald
Copy link

When running a BBJ BUI or DWC program embedded in a page served from a different URL, the grid content is blocked by cross site access rules.

The reason for that is that in some places the javascript code tries to access window.parent... instead of window... which refers to the parent of the embedding iframe instead of the frame holding the grid, inside the iframe.

The scenario to reproduce is similar to
Bug 34751 - The Session Cookie does not honor the SameSite header setting from EM

@StephanWald StephanWald added Platform: BUI the issues is related to BUI applications Status: Confirmed The issue is a bug and has been confirmed and an action will be taken Change: Minor Needs less than 64 lines change Platform: DWC the issues is related to DWC applications labels May 17, 2023
@StephanWald StephanWald self-assigned this May 17, 2023
@hyyan hyyan removed Platform: BUI the issues is related to BUI applications Status: Confirmed The issue is a bug and has been confirmed and an action will be taken Change: Minor Needs less than 64 lines change Platform: DWC the issues is related to DWC applications labels May 17, 2023
StephanWald pushed a commit that referenced this issue May 17, 2023
@hyyan hyyan added the Type: Bug The issue documents broken, incorrect, or confusing behavior. label May 17, 2023
@hyyan hyyan closed this as completed in e4e0774 May 17, 2023
@hyyan
Copy link
Member

hyyan commented May 17, 2023

Fix in version 1.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug The issue documents broken, incorrect, or confusing behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants