-
-
Notifications
You must be signed in to change notification settings - Fork 571
Replaced asset does not relink to asset fields in entries #11769
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
Comments
Is the
Statamic processes reference updates in the queue. Can you double check your queue worker is setup properly? |
In the queue I have found a failed job with the following:
|
How do you have your queue worker configured? Can you try increasing the timeout? |
The worker is functioning correctly. The job times out at both 30 and 60 seconds. Would you expect this to take longer than a minute? |
Potentially. It really depends on how much content you have, and what your blueprints look like. It has to loop through all content, finding asset fields and check their values. Would be interesting to know if it still times out if you adjust the timeout to 2 minutes. |
At 2 minutes timeout the replace function only works intermittently. Around 50% of the time we still fail with a timeout and ~50% of the time it works. For reference we have ~150 entries and ~50 terms all in 12 locales on this site |
Bug description
When using the Replace Asset function the original asset is correctly deleted (when the option is toggled on) and the new asset is correctly uploaded, however the new asset is not relinked to asset fields in entries where the original asset was being used in accordance with the documentation "Replaced assets with the replace action will update any references to it throughout your content".
How to reproduce
Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: