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

Setting a preset for all users isn't working properly. #22648

Open
VincentKempers opened this issue Jun 4, 2024 · 0 comments
Open

Setting a preset for all users isn't working properly. #22648

VincentKempers opened this issue Jun 4, 2024 · 0 comments

Comments

@VincentKempers
Copy link
Member

VincentKempers commented Jun 4, 2024

Describe the Bug

When creating a preset for a collection directus_files for example. This preset should contain a simple change from a default (card) view to a table view. What it's happening setting this for Global is not setting for all users. Also when creating a new user it's not setting it will still display cards. When deleting all presets and setting again it will still not set a new preset for global.

Tried this locally and on directus cloud and it doesn't set.
Also encountered some odd behaviour when deleting a preset. Sometimes the deletion would not happen.
Or the preset would not update to Global users.

To Reproduce

Create a preset for global users that directus_files needs to be a table.
Create a new user or check a pre-existing one that does not have a preset set and see if the preset has been set.
On a new user you would still see cards (this still happened after emptying cache).

Regarding the presets deletion this happend a bit sporadically but I could capture this on video.

Videos
https://github.com/directus/directus/assets/14160793/d6482d49-aa72-4078-9dad-f4e19d93c7bc

could-notdelete-the-bookmark-blurred-final.mov

Directus Version

v10.11.2

Hosting Strategy

Directus Cloud

Database

No response

@VincentKempers VincentKempers changed the title Setting a preset for all users isn't working properly even with creation of new user. Setting a preset for all users isn't working properly. Jun 4, 2024
@alexchopin alexchopin added this to the Next Major Release milestone Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants