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

[Bug]: On Deployment: Saving a file with the same name as an existing file does not invalidate cloudfront cache #9997

Closed
5 tasks
dinomut1 opened this issue Mar 26, 2024 · 0 comments · Fixed by #10058
Assignees
Labels
bug Something isn't working triage Remove once bug is reviewed

Comments

@dinomut1
Copy link
Member

Version

08c3b70(1.6.0)

Operating Systems

  • macOS
  • Windows
  • Linux
  • Android
  • IOS

Browser (if applicable)

No response

What is supposed happened?

When a file is saved with the same name as an existing file, it should overwrite the file, and the url pointing to that file should now point to the newly saved file

What happened?

Saving a file with the same name as an existing file does not update the cloudfront url. This forces the user to save every file with a unique name to avoid the bug.

Steps to reproduce

1. On deployment, place a 3d model into a scene
2. Modify that model in some way, then save the changes using the model component export. Make sure to keep the file name the same
3. The model component will immediately try to reload that URL, and it will load the old file. Dragging and dropping the file will also produce the same old file

Relevant Info

90% sure this is a cloudfront cache invalidation problem. But it may be deeper problem with S3 itself

@dinomut1 dinomut1 added bug Something isn't working triage Remove once bug is reviewed labels Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Remove once bug is reviewed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants