-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move some dates handling in
SetAttributesService
for automatic mode
Instead of doing it in both the `SetScheduleService` and `SetAttributesService`, and have the risk of having different business logic (and there is a different handling currently), the logic is slowly removed from the `SetScheduleService` and moved to the `SetAttributesService` instead. This only concerns the work package being updated. For dependent work packages needing to be rescheduled (ancestors and followers), the `SetScheduleService` is still used. Relevant tests have been moved from `spec/services/work_packages/set_schedule_service_spec.rb` to `spec/services/work_packages/update_service_integration_spec.rb`.
- Loading branch information
Showing
4 changed files
with
141 additions
and
104 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