You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several users have reported adding a Redmine issue with an activity to their Urdr interface, but that they subsequently have been prevented from logging time on the issue+activity combination.
Looking closer at what appears to happen when this issue occurs reveals that the activity that is added in the UI has a "parent" activity ID rather than an activity ID connected to the specific Redmine project in question.
In Redmine, activities are "enumerations", and there is a set of "parent" enumeration entries that are duplicated for each Redmine project. As an example, the "parent" enumeration ID for the "Implementation" activity is 14, but the "Implementation" activity that Redmine issue 6484 (connected to Redmine project 381, "Externally funded projects") may use has the ID 77.
It is therefore understandable that a user who tries to log time on the combination (6484,14) gets the error message, even though the "Implementation" activity (ID 77, not 14) should be allowed. The bug is that, in this example, ID 77 should have been given to the user when they added the issue to their Urdr UI, not ID 14.
I've tagged this with "frontend" only because I think that's the best place to start looking for the cause of the issue, since it manifests in the graphical interface. It may well end up being a bug in the backend somewhere.
Examples of this bug (the first link is the exact example used above):
Describe the bug
Several users have reported adding a Redmine issue with an activity to their Urdr interface, but that they subsequently have been prevented from logging time on the issue+activity combination.
Looking closer at what appears to happen when this issue occurs reveals that the activity that is added in the UI has a "parent" activity ID rather than an activity ID connected to the specific Redmine project in question.
In Redmine, activities are "enumerations", and there is a set of "parent" enumeration entries that are duplicated for each Redmine project. As an example, the "parent" enumeration ID for the "Implementation" activity is 14, but the "Implementation" activity that Redmine issue 6484 (connected to Redmine project 381, "Externally funded projects") may use has the ID 77.
It is therefore understandable that a user who tries to log time on the combination (6484,14) gets the error message, even though the "Implementation" activity (ID 77, not 14) should be allowed. The bug is that, in this example, ID 77 should have been given to the user when they added the issue to their Urdr UI, not ID 14.
I've tagged this with "frontend" only because I think that's the best place to start looking for the cause of the issue, since it manifests in the graphical interface. It may well end up being a bug in the backend somewhere.
Examples of this bug (the first link is the exact example used above):
Steps to reproduce
I have not been able to reproduce the error in the UI.
More information
Possibly related to #870
The text was updated successfully, but these errors were encountered: