Skip to content
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

WBS is incorrect when applying cut-paste changes #7311

Closed
bmblb opened this issue Aug 15, 2023 · 1 comment
Closed

WBS is incorrect when applying cut-paste changes #7311

bmblb opened this issue Aug 15, 2023 · 1 comment
Assignees
Labels
bug Something isn't working OEM OEM customer resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@bmblb
Copy link

bmblb commented Aug 15, 2023

Steps to reproduce:

  1. Create two Gantt charts using same data, store should contain parent with 2+ children and a sibling. Also, store should be sorted by WBS.
  2. Select all siblings, cut them and paste to sibling.
  3. Take project changes and apply them to 2nd Gantt chart.

When you apply changes to the 2nd Gantt chart, you'll notice WBS is different for changed records:

1 Task 1
// cut/paste these
1.1 Task 11
1.2 Task 12
2 Task 2
3 Task 3

// source Gantt
1 Task 1
2 Task 2
3 Task 11
4 Task 12
5 Task 3

// target Gantt
1 Task 1
2 Task 11
3 Task 12
4 Task 2
5 Task 3

@bmblb bmblb added bug Something isn't working OEM OEM customer labels Aug 15, 2023
@bmblb bmblb self-assigned this Aug 15, 2023
@bmblb
Copy link
Author

bmblb commented Aug 16, 2023

This problem is caused by a solution to #7135 which is trying to figure if remote operation is an outdent. There is not enough information to reliably tell outdent apart from reorder/cut/paste.
Reported issue with wrong WBS is resolved, but visible tree will differ between projects.

@bmblb bmblb added ready for review Issue is fixed, the pull request is being reviewed resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Aug 16, 2023
@bmblb bmblb added this to the 5.5.2 milestone Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OEM OEM customer resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

1 participant