Project

General

Profile

Actions

Defect #40276

open

Following issues dates do no update when non-working days are updated.

Added by Dotan Cohen 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues planning
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

When updating the non-working days administrative option, extant issues set as "Following" do not have their start and due dates updated to reflect the change in non-working days.

To test:
0. Have the system configured as non-working days: Saturday, Sunday
1. Create an issue to be completed on Thursday.
2. Create an issue that Follows the previous issue, with 0 days' delay (which means that this issue will be done the next day, e.g. Friday)
3. Ensure that in fact, the new issue is correctly set to start and be due on Friday.
4. In `Administration -> Settings -> Issue tracking -> Non-working days` change the setting to Friday, Saturday.
5. Return to the "Following" issue.

Expected results:
The "Following" issue should have its start and due dates set to the next Sunday.

What actually happens:
The "Following" issues' start and due dates have not been updated.

Note that removing the Following relationship and putting it back does in fact set the correct start and due dates (e.g. to Sunday).

```
Environment:
Redmine version 5.1.1.stable
Ruby version 3.2.3-p157 (2024-01-18) [x86_64-linux]
Rails version 6.1.7.6
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Default
SCM:
Subversion 1.14.2
Mercurial 6.3.2
Bazaar 3.3.2
Git 2.39.2
Filesystem
Redmine plugins:
no plugin installed
```

No data to display

Actions

Also available in: Atom PDF