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

Moving an image doesn't update refs on all globals #11177

Open
planeer opened this issue Nov 27, 2024 · 0 comments · May be fixed by #11186
Open

Moving an image doesn't update refs on all globals #11177

planeer opened this issue Nov 27, 2024 · 0 comments · May be fixed by #11186

Comments

@planeer
Copy link

planeer commented Nov 27, 2024

Bug description

When moving an image that is linked to more than one globals, doesn't update the reference on all of them. You can see this in the video below.

Screen.Recording.2024-11-27.at.07.45.21.mov

How to reproduce

Here is the repository from the video: https://github.com/planeer/statamic-globals-image-move-bug

Login credentials are:

To reproduce:

  1. Link the same image to both globals Test and Test1
  2. Go to assets and move that image to the different folder
  3. When checking both globals now, the image should be updated on only one, and the other should be without the linked image, because the reference didn't update

Logs

No response

Environment

Environment
Application Name: Statamic
Laravel Version: 11.31.0
PHP Version: 8.3.12
Composer Version: 2.7.8
Environment: local
Debug Mode: ENABLED
URL: statamic-globals-image-move-bug.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 5.25.0 Solo

Installation

Fresh statamic/statamic site via CLI

Additional details

I updated statamic to latest version after creating new site via CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants