You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Web - Wallet Statement Modal - Statement is not displayed and errors appear #28490
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Coming from this Slack convo https://expensify.slack.com/archives/C02NK2DQWUX/p1696148431657419 it seems like this is not coming from the App but more so from internal changes but the statement should work fine in production so going to remove the deploy blocker label
NewDot embeds an OldDot page (wallet statement page) inside an iframe of NewDot.
Both production and staging NewDots embed production OldDot.
This means that when on staging, staging.new.expensify.com embeds www.expensify.com.
These websites are considered as separate websites by the browser.
Because current production OldDot CSP header doesn't explicitly list staging.new.expensify.com under frame-ancestors, the browser denies to display production OldDot inside the staging NewDot.
Solution
Let's embed the staging OldDot when NewDot is the staging one.
Let's modify the CSP of staging OldDot so that the staging NewDot can embed it. (this one will be handled here anyway)
@hayata-suenaga I have confirmed with the QA they normally dont test this so its not a new issue. I think that this will eventually be handled by the changes required for the hybrid web so I think we dont have to do anything specific here and changes made for the hybrid web will fix this too.
Hence I think we can close this issue, feel free to reopen if you disgree
Activity
melvin-bot commentedon Sep 29, 2023
Triggered auto assignment to @adelekennedy (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Sep 29, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)OSBotify commentedon Sep 29, 2023
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:melvin-bot commentedon Sep 29, 2023
Triggered auto assignment to @AndrewGable (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.lanitochka17 commentedon Sep 30, 2023
Issue is still repro it on latest build v1.3.75-3 on Windows 10/Chrome
restest1.mp4
melvin-bot commentedon Oct 1, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01e92423cfeff9e754
melvin-bot commentedon Oct 1, 2023
Triggered auto assignment to Contributor Plus for review of internal employee PR - @eVoloshchak (
Internal)mountiny commentedon Oct 1, 2023
Coming from this Slack convo https://expensify.slack.com/archives/C02NK2DQWUX/p1696148431657419 it seems like this is not coming from the App but more so from internal changes but the statement should work fine in production so going to remove the deploy blocker label
hayata-suenaga commentedon Oct 1, 2023
On production, the wallet statement page is displayed without any issue
On the other note, links in the iframe seem not be working:
Screen.Recording.2023-09-29.at.2.32.11.PM.mov
hayata-suenaga commentedon Oct 1, 2023
@AndrewGable @mountiny
This is my suggestion
Root cause
staging.new.expensify.comembedswww.expensify.com.staging.new.expensify.comunderframe-ancestors, the browser denies to display production OldDot inside the staging NewDot.Solution
mountiny commentedon Oct 2, 2023
@hayata-suenaga I have confirmed with the QA they normally dont test this so its not a new issue. I think that this will eventually be handled by the changes required for the hybrid web so I think we dont have to do anything specific here and changes made for the hybrid web will fix this too.
Hence I think we can close this issue, feel free to reopen if you disgree