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

After adding a new task and editing an existing one, the "Add Child/Above/Below" menu unexpectedly appears in Gantt and JS error is thrown on selecting Add Above/Below #6547

Closed
martintabakov opened this issue Sep 1, 2021 · 1 comment
Assignees
Labels
Bug C: Gantt FP: Completed Sync status with associated Feedback Item jQuery SEV: High
Milestone

Comments

@martintabakov
Copy link
Contributor

martintabakov commented Sep 1, 2021

Bug report

The menu that determines where to add new task incorrectly appears after creating a new task and editing an existing one.

Regression introduced with 2021.1.330 from this issue - TreeList does not trigger change event on checkbox select

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/uBAHUgOy
  2. Add new task.
  3. Randomly edit another task or click on the timeline so that no item is selected in the Gantt TreeList.
  4. Click the Add Task button again.

Current behavior

The Add Child/Above/Below menu appears unexpectedly.
Clicking on Add Above or Below option throws a JS error:
Cannot read properties of undefined (reading 'get')

Expected/desired behavior

The menu should not appear and a new task should be added at the bottom of the list.

Environment

  • Kendo UI version: 2021.3.914
  • Browser: [all]
@kendo-bot kendo-bot added the FP: Planned Sync status with associated Feedback Item label Sep 1, 2021
@Dimitar-Goshev Dimitar-Goshev changed the title After adding a new task and editing an existing one, the "Add Child/Above/Below" menu unexpectedly appears in Gantt After adding a new task and editing an existing one, the "Add Child/Above/Below" menu unexpectedly appears in Gantt and JS error is thrown on selecting Add Above/Below Oct 6, 2021
@kendo-bot kendo-bot removed the FP: Planned Sync status with associated Feedback Item label Dec 6, 2021
@veselints veselints self-assigned this Jan 17, 2022
@kendo-bot kendo-bot added the FP: In Development Sync status with associated Feedback Item label Jan 17, 2022
@veselints
Copy link
Contributor

This is a very good candidate for a functional test. At the end of the test we should check whether the add task pop-up is visible.

@Dimitar-Goshev Dimitar-Goshev added this to the 2022.R1.SP.next milestone Feb 1, 2022
@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 Feb 1, 2022
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: High
Projects
None yet
Development

No branches or pull requests

4 participants