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 wrong after cut/paste when orderedParentIndex is persisted #8257

Closed
bmblb opened this issue Jan 15, 2024 · 0 comments
Closed

WBS is wrong after cut/paste when orderedParentIndex is persisted #8257

bmblb opened this issue Jan 15, 2024 · 0 comments
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 Jan 15, 2024

Steps to reproduce on advanced demo:

  1. make orderedParentIndex persistable
  2. enable useOrderedTreeForWbs and set wbsMode to auto
  3. enable transactional features
  4. use this dataset:
{
  "success": true,
  "tasks": {
    "rows": [
      {
        "id": 1,
        "name": "Parent",
        "expanded": true,
        "children": [
          {
            "id": 11,
            "name": "A",
            "duration": 8
          },
          {
            "id": 12,
            "name": "B",
            "duration": 5
          },
          {
            "id": 13,
            "name": "C",
            "duration": 2
          },
          {
            "id": 14,
            "name": "D",
            "duration": 3
          },
          {
            "id": 15,
            "name": "E",
            "duration": 4
          }
        ]
      }
    ]
  }
}
  1. run demo, sort duration column in a descending order
  2. cut task A (wbs 1.1), paste it below task E (wbs 1.5)

Expectation:
task A get wbs 1.5, task E get wbs 1.4
Behavior:
task A get wbs 1.4, task E get wbs 1.5

Visual position is correct in both cases.

@bmblb bmblb added bug Something isn't working OEM OEM customer labels Jan 15, 2024
@bmblb bmblb self-assigned this Jan 15, 2024
@bmblb bmblb added in progress 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 in progress ready for review Issue is fixed, the pull request is being reviewed labels Jan 15, 2024
@bmblb bmblb added this to the 5.6.6 milestone Jan 15, 2024
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