-
Notifications
You must be signed in to change notification settings - Fork 71
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
Not possible to delete a data model in Studio #12035
Labels
area/data-modeling
Area: Related to data models - e.g. create, edit, use data models.
kind/bug
Used when there is a defect / something is not working as it should.
status/triage
Comments
nkylstad
added
kind/bug
Used when there is a defect / something is not working as it should.
status/triage
labels
Jan 15, 2024
nkylstad
changed the title
Deleting a data model, then adding a new datamodel with same name, causes old data to show
Not possible to delete a data model in Studio
Jan 16, 2024
nkylstad
added
the
area/data-modeling
Area: Related to data models - e.g. create, edit, use data models.
label
Jan 17, 2024
I experiences this today. Skjermopptak.2024-01-17.kl.12.53.30.mov |
4 tasks
4 tasks
Testet OK. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/data-modeling
Area: Related to data models - e.g. create, edit, use data models.
kind/bug
Used when there is a defect / something is not working as it should.
status/triage
Description of the bug
See title.
Steps To Reproduce
Additional Information
Also note that deleting the model, then adding a new model with different name results in a similar strange behaviour:
This seems to be a caching issue. The react query cache for the given model is not cleared when the model is deleted.
Also, the jsonschema file for the model does not seem to be deleted 🤔 This might be an effect of the react query cache for som reason PUTing or POSTing the cached model after it has been deleted.
The text was updated successfully, but these errors were encountered: