-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2608 from cozy/fix/prevent-recurrence-actions-on-…
…operations-with-existing-recurrence The recurrence service is built in such a way that each call modifying transactions will trigger another service call to make sure all transaction-recurrence associations that could be made have been made. This can result in a long chain of calls, potentially infinite, if transactions are modified on each run. We try to limit this effect by not modifying transactions that are already associated with a recurrence. This should prevent situations were the service juggles between 2 recurrences with a given transaction. The fix has the added benefit of not modifying associations that were made by the user and to present a stable automatic association. ``` ### 🐛 Bug Fixes * The recurrence service should not modify transactions already associated with a recurrence ### 🔧 Tech * Clarified recurrence service functions and variables names ```
- Loading branch information
Showing
4 changed files
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters