Premium support for our pure JavaScript UI components


Post by vbureanu »

Hello,

We have a conflict popup that dosen't close when we click to the X icon.
Our current Gantt version is 5.3.8.
When we are using previouos Gantt version (5.1.1) with the exact the same DB and the same data this popup could be closed by X, but with 5.3.8 it can't.
It looks like changing Gantt version something is changed, and now we can't close popup without clicking resolutions. (client wants to continue closing it by pressing X)

How can we allow to user close this popup?

Thanks!

error.png
error.png (109 KiB) Viewed 9458 times

Post by ghulam.ghous »

Hey,

We cannot say what is wrong in 5.3.8. But I have tried on the latest version and it can be closed with the cross icon. See this clip and I have tried on the following example: https://bryntum.com/products/gantt/examples/advanced/

Screen Recording 2025-03-20 at 3.30.05 PM.mov
(8.7 MiB) Downloaded 59 times

Maybe try some higher version like 5.4 or 5.5 and see if it is fixed. I was only able to find this ticket which seems irrelevant to your usecase: https://github.com/bryntum/support/issues/8514


Post by vbureanu »

ghulam.ghous wrote: Thu Mar 20, 2025 12:34 pm

Maybe try some higher version like 5.4 or 5.5 and see if it is fixed. I was only able to find this ticket which seems irrelevant to your usecase: https://github.com/bryntum/support/issues/8514

Hi, we have tried to update to the 5.6.1 version, but the behavior remains the same.
If you notice - you have a dialog with 2 buttons, APPLY and CANCEL.
In our case we have just one button APPLY.


Post by ghulam.ghous »

We cannot fix something which is broken in the older versions. I would say try to reproduce the issue in our online examples: https://bryntum.com/products/gantt/examples/conflicts/ and only then we can able to help you. Otherwise we will have to ask you to upgrade.


Post by vbureanu »

Hi, I have attached a 5.6.10 version with a localized project which you can run locally and its source code.
Also attached 2 videos to show the difference in conflict popup behavior between 5.3.8 and 5.6.10.
Can we have on the 5.6.10 the same possibility to close popup by pressing X ?

gantt_5.1.1.mp4
(4.46 MiB) Downloaded 54 times
gantt_5.6.10.mp4
(6.25 MiB) Downloaded 56 times
gannt.zip
(7.4 MiB) Downloaded 61 times

Post by mats »

I'm afraid we do not offer bug fixes for older releases. We recommend you upgrade to the latest supported version - is that an option for you?


Post by Animal »

This shows up on initial project load?

The Cancel button is hidden if the Popup code evaluates canCancel as false

And canCancel is returned as false if this.project?.isInitialCommit

So if the loaded data from the database has conflicts, they must be fixed.


Post by vbureanu »

mats wrote: Thu Mar 20, 2025 8:25 pm

I'm afraid we do not offer bug fixes for older releases. We recommend you upgrade to the latest supported version - is that an option for you?

We tried to update to the 5.6.10 version, but probably we need to act in other way.


Post by vbureanu »

Animal wrote: Fri Mar 21, 2025 9:30 am

This shows up on initial project load?

The Cancel button is hidden if the Popup code evaluates canCancel as false

And canCancel is returned as false if this.project?.isInitialCommit

So if the loaded data from the database has conflicts, they must be fixed.

Hi Animal, how can we handle the canCancel property in our project, so we can close popup by X?
(I know it sounds strange, but we are ok if conflicts appears)


Post by Animal »

You can override property values. Gain access to the popup object and do:

Object.defineProperty(popup, 'canCancel', { value : true, configurable : true });

configurable : true because you may want to delete that property and have it function as designed at some point.


Post Reply