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

TaskEdit popup not showing up on first click #7609

Closed
taauntik opened this issue Oct 4, 2023 · 0 comments
Closed

TaskEdit popup not showing up on first click #7609

taauntik opened this issue Oct 4, 2023 · 0 comments
Assignees
Labels
bug Something isn't working forum Issues from forum OEM OEM customer resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@taauntik
Copy link

taauntik commented Oct 4, 2023

Forum post

Hi,

I am currently facing a problem, when adding the successorsTab in the gantt taskEditFeatures, I face the following issue : I need to click two times on the edit taskMenu item for the taskEditor popup to show
(Gantt.widget.TaskEditor).
For your information, this bug disappears when I remove the config I did on successorsTab and appears back when I set the config back.

Here is the error message that is shown on first click :

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'containsFocus')
    at SuccessorsTab.onGridSelectionChange (DependencyTab.js:353:1)
    at Grid.trigger (Events.js:1345:1)
    at Grid.triggerSelectionChangeEvent (GridSelection.js:1771:1)
    at Grid.performSelection (GridSelection.js:1700:1)
    at Grid.deselectAll (GridSelection.js:978:1)
    at Grid.updateStore (GridBase.js:1410:1)
    at Grid.set (Config.js:315:1)
    at SuccessorsTab.loadEvent (DependencyTab.js:255:1)
    at TaskEditorBase.js:301:1
    at TabPanel.eachWidget (Widget.js:4848:1)

Now here are the configs that I did on successorsTab and that potentially lead to this issue :

successorsTab: {
        items: {
          toolbar: {
            items: {
              add: false,
              remove: false,
            },
          },
        },
      },

Thank you.
Regards,
Aymen.

@taauntik taauntik added bug Something isn't working forum Issues from forum OEM OEM customer labels Oct 4, 2023
@matsbryntse matsbryntse self-assigned this Oct 4, 2023
@matsbryntse matsbryntse 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 Oct 4, 2023
@matsbryntse matsbryntse added this to the 5.5.4 milestone Oct 4, 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 OEM OEM customer resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

2 participants