-
Notifications
You must be signed in to change notification settings - Fork 567
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
Unexpected values in project tasks/activities #1551
Comments
@problem 2: Yes, it is a deliberate fallback that an object where the relevant fields for representation (e.g. name) are empty is represented by its ID instead. That is to make sure that they can still be distinguished - specifically in selectors. However, fields used for reference representation should normally be mandatory (although that does not mean the user has to fill them in - they could just default to something meaningful). An empty activity description makes very little sense, so that field /could/ be mandatory. |
a) the activity is not a field in the task table, and therefore the change is not detected by the change logger. The purpose of the change logger is though to allow tracking of workflow-relevant changes of the task - and the activity is not workflow-relevant. Hence, this miss is acceptable - and yes, expected. b) is a bug indeed. |
Unless it's just used as a link table, which may well be the case somewhere |
Additional explanation for 3a) - the "log" trail has the following use-case: the person managing the task and the person executing it are oftentimes different persons. So, when either of them changes anything in the task that should affect what the other one does with the task, then obviously the other one must be able to see that something has changed, what has changed and when it has changed - otherwise the change may go unnoticed and thus have no effect. Therefore, any workflow-relevant changes (task details, status, priority) shall automatically be shown in a comment trail underneath. When the activity categorization is changed, however, this has normally no bearing for this exchange - as it is typically only relevant on the managing side? If there is a use-case where it is relevant, I think it can be added - but I don't think it needs to be there by default. |
Apart from location, there is no meaningful link in project_activity (I think project_location is used instead?) - my gut feeling is that activities are always explicit. But that's why I said /could/. |
I think maybe distributions in 1 model |
...in which case it could still be made mandatory in the interactive form (prep). But then again, I must say that leaving the description empty - out of all fields for activities - doesn't sound like a common/deliberate interactive user behavior. If it were to happen accidentally very often, then we could consider making it mandatory there - but I wouldn't call it an outright bug. |
No crash this time, but confusing or useless data displayed to the user (although arguably the users may deserve it as they gave confusing or useless data as input :) )
Steps to reproduce:
Problems:
b) Is it expected that the id change is logged even when the id hasn't been changed? (this happens even when nothing is changed and just Save is clicked)
1 and 2 may be deliberate choices, but at least 3 seems like an actionable bug.
The text was updated successfully, but these errors were encountered: