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

Task Type / Task Group Names Leak from Other Evaluation Template #493

Open
sauterl opened this issue Sep 11, 2024 · 0 comments
Open

Task Type / Task Group Names Leak from Other Evaluation Template #493

sauterl opened this issue Sep 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sauterl
Copy link
Collaborator

sauterl commented Sep 11, 2024

Describe the bug
As of version 2.0.4, the tasktype name / taskgourp name on a task template leak from other evaluation templates.

To Reproduce
Steps to reproduce the behavior:

  1. Create Evaluation Template (let's call it A) and create task type / task group an name them TTA / TGA
  2. Save eval template A
  3. Create Evaluation Template (let's call it B) and create task type / task group an name them TTB / TGA
  4. Create a task using TGA as group.
  5. Save eval template B
  6. When trying to re-edit the task in eval template B, a cryptic global error comes. Upon inspecting (e.g. with dev tools), on realises that in eval template B, the tasktype of the task is TTA, presumably due to the equally named TGA task group. At some point the lookup is not evaluation template specific and therefore the mix-up happens.

Expected behavior
Task type and task group being evaluation template specific.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • OS: ubuntu?
  • Browser: Chrome 128.0.6613.137
  • DRES Version: 2.0.4
@sauterl sauterl added the bug Something isn't working label Sep 11, 2024
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

No branches or pull requests

1 participant