-
Notifications
You must be signed in to change notification settings - Fork 16
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
Unfinished Toggl Entries Trigger an Error #2
Comments
This is somewhat intended behavior. It doesn't register the entry until it's finished. Once it's finished, it puts it into Redmine and never touches it again. Anyway I'm open to any suggestions on how to make it better, so if you have any reasonable proposals, I'm all into them. What do you think the correct behavior should be? |
That makes sense. I think my suggestion then would be to generate a warning to I don't mind throwing away |
I've fixed this with the last commits. Would you be so kind to check it? |
Looks good on my end. Thanks! |
My pleasure! |
If
rake toggl:update RAILS_ENV=production
is run when there are unfinished time entries in Toggl, it fails with the message "Validation failed: Hours is invalid".Steps to reproduce:
rake toggl:update RAILS_ENV=production
; this will fail with "Validation failed: Hours is invalid".rake toggl:update RAILS_ENV=production
; everything should now work fine.The text was updated successfully, but these errors were encountered: