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 parent task percentComplete does not update correctly in filtering scenarios #6111

Closed
IvanDanchev opened this issue Nov 2, 2020 · 2 comments
Assignees
Labels
Bug C: Gantt FP: Completed Sync status with associated Feedback Item jQuery SEV: Medium
Milestone

Comments

@IvanDanchev
Copy link
Contributor

Bug report

Reproduction of the problem

Reproducible in the Columns demo: https://demos.telerik.com/kendo-ui/gantt/columns

  1. Filter by "Title" -> contains "Market". Only the child "Market" will be visible in the parent "Research" task.
  2. Edit "Market" and set it percentComplete to 100%.

Current behavior

The parent's percent complete is also set to 100%. This is incorrect, since the other children of parent are not removed from the dataSource, they are just visually filtered. The problem becomes more evident, if the filter is cleared. Then the parent keeps its 100% value, even though it contains child tasks with percentComplete less than 100%.

Expected/desired behavior

The parent task percent complete should be consistent to the behavior without filtering applied. Using the same example, this means: on updating "Market" to 100%, Research should change its percentComplete to 49%, taking into account all of its children percentComplete values.

Environment

  • Kendo UI version: 2020.3.1021
  • jQuery version: x.y
  • Browser: [all]
@IvanDanchev IvanDanchev added Bug SEV: Medium C: Gantt jQuery FP: Unplanned Sync status with associated Feedback Item labels Nov 2, 2020
@IvanDanchev
Copy link
Contributor Author

A similar behavior is observed with regard to end dates.
If we filter by "Title" -> contains "Market", the parent's end date remains 6/7/2014, because of the "Functional and Technical Specification" task's end date (expected). However, if we edit "Market" and set its end date to 6/5/2014, the parent's end date also changes to 6/5/2014 (unexpected). If we then clear the filter we will have a parent that ends on 6/5/2014 and a child that ends on 6/7/2014 (unexpected).

@IvanDanchev
Copy link
Contributor Author

Priority raised: Ticket ID: 1492368

@veselints veselints self-assigned this Jan 22, 2021
@kendo-bot kendo-bot added FP: Planned Sync status with associated Feedback Item FP: In Development Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item FP: Planned Sync status with associated Feedback Item labels Jan 22, 2021
@mparvanov mparvanov added this to the 2021.R1.SP.next milestone Mar 2, 2021
@kendo-bot kendo-bot added FP: Completed Sync status with associated Feedback Item and removed FP: In Development Sync status with associated Feedback Item labels Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug C: Gantt FP: Completed Sync status with associated Feedback Item jQuery SEV: Medium
Projects
None yet
Development

No branches or pull requests

4 participants