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

Gantt addTaskAbove/addTaskBelow/... methods do not copy the reference task duration unit #7011

Closed
arcady-zherdev opened this issue Jun 16, 2023 · 0 comments
Assignees
Labels
bug Something isn't working forum Issues from forum premium resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@arcady-zherdev
Copy link

Reported here: https://forum.bryntum.com/viewtopic.php?t=25349

Steps to reproduce:

  1. run advanced demo
  2. make a task with 1 hour duration
  3. right click it and choose to add a task below

Result: new task has 1 day duration.

The reason is Gantt.Base#addTask method copies duration but doesn't do it for durationUnit value.

@arcady-zherdev arcady-zherdev added bug Something isn't working premium forum Issues from forum labels Jun 16, 2023
@matsbryntse matsbryntse self-assigned this Jun 18, 2023
@matsbryntse matsbryntse added the ready for review Issue is fixed, the pull request is being reviewed label Jun 18, 2023
@arcady-zherdev arcady-zherdev added 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 Jun 19, 2023
@SergeyMaltsev SergeyMaltsev added this to the 5.3.7 milestone Jun 20, 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 forum Issues from forum premium resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

3 participants