-
Notifications
You must be signed in to change notification settings - Fork 37
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
Enforce project line submission at timecard submission #881
Comments
If you have to manually resolve this, you can delete the unsubmitted project lines in the Tock admin, then have the user re-submit their time card. |
I've been unable to replicate inconsistency between However I don't believe a discrepancy there would prevent submission of a Timecard.
|
Yes, timecard.submitted is definitely used. You can see the inconsistency if you force an error on a tock submission -- apparently, judging from Slack conversations, leaving out required notes is the easiest way -- then view the submission in the Tock admin. You'll get a "submitted" timecard with unsubmitted timecardobjects. That said, I understand you'd prefer to pull that work into a separate issue, which I'm totally fine with. |
No, thanks for the reminder @tbaxter-18f that didn't address an assessment/refactoring of |
In some cases, somehow, when a user submits a timecard the project lines will not be marked as submitted. This will present to the user as an undefined error, and can be seen in the admin by the project lines having red "unsubmitted" checks when the timecard itself has been entered.
We need to determine why the project lines have their own "submitted' independent of the timecard "submitted'. If they're not needed, remove them. If they are, be sure that they're in sync and don't throw an error.
The text was updated successfully, but these errors were encountered: