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 when setting the updated_at/by audit info #126

Closed
danielhuppmann opened this issue Oct 24, 2024 · 1 comment · Fixed by #127
Closed

Bug when setting the updated_at/by audit info #126

danielhuppmann opened this issue Oct 24, 2024 · 1 comment · Fixed by #127
Labels
bug Something isn't working

Comments

@danielhuppmann
Copy link
Member

When editing a Run (adding/removing iamc-data or meta), the updated_at/by audit info entries are updated automatically. However, this update touches all runs with that model-scenario name, not just the run that was edited.

Steps to reproduce (I guess only relevant via Rest API):

  • login as user A
  • create a run
  • login as user B
  • create a run with the same model/scenario name

The first run (created by user A) now has "updated_by user B" in the audit info.

@danielhuppmann danielhuppmann added the bug Something isn't working label Oct 24, 2024
@danielhuppmann danielhuppmann changed the title Bub when setting the updated_at/by audit info Bug when setting the updated_at/by audit info Oct 24, 2024
@meksor
Copy link
Contributor

meksor commented Oct 24, 2024

fixed by #127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants