-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Related TogglMapping not deleted when Redmine TimeEntry is deleted #30
Comments
I was looking for a "onModelDelete" kind of a hook so that I could delete the mapping between the Toggl time entry and the Redmine time entry when a Redmine time entry is deleted. If it is not possible to do this with a delete hook, I might have to resort to cron for cleaning dangling entries from the |
When a TimeEntry is deleted, related TogglMapping records are also deleted.
Patched Redmine's |
When a time entry is imported, then deleted using the Redmine report table (at the top), it still appears as "imported" in the Toggl report table (at the bottom). To address this issue, we can refresh the Toggl report when a deletion takes place. |
Now that we have tests in place, it will be fun to solve this problem for good 😃 |
If you import an item from Toggl. Then delete the item in redmine, then import again. The second import produces two messages. One saying it succeeded the other saying the import failed.
The text was updated successfully, but these errors were encountered: