Premium support for our pure JavaScript UI components


Post by tasnim »

Hi,
As you need this urgently, we are looking into it and hope to have it fixed within a couple of patch releases.

Best regards,
Tasnim


Post by xbtc »

Many thanks Tasnim!


Post by xbtc »

Ok we just re-tested with the new Bryntum Version 5.0.6 and we can confirm that the bug does no longer occur for us - thank you very much for the fast fix.

However we realized that other stores beside the Dependency Store are still affected.

For example the AssignmentStore has the exact same issue (fields with a dataSource propery are never triggering a sync).

Could you please fix the issue for all stores?

Many thanks in advance


Post by xbtc »

Bump: We would be grateful for a reply to this one. Can you confirm that the AssigmentStore was not yet fixed and if yes log a bug for it?


Post by mats »

Can you please share minimal code of how you reproduce this? How do you edit assignments? Cell editing or the task editor popup?


Post by xbtc »

Hi Matt,

i really think it is the exact same problem as the one you already fixed for the dependency store. Just as with the dependency model we use the following code to map our assignment data fields:

class CDSAssignmentModel extends AssignmentModel {
	static get fields(): any[] {
		return [
			{ name: ENTITY_CONFIG.assignmentIdField, dataSource: ENTITY_CONFIG.assignmentIdField },
			{ name: 'event', dataSource: ENTITY_CONFIG.assignmentTaskId },
			{ name: 'resource', dataSource: ENTITY_CONFIG.assignmentResId },
			// As soon as dataSource is not commented out the bug occurs
			{ name: 'units', /* dataSource: 'tpg_units' */, type: 'number' },
		];
	}
}

As soon as for example 'units' is mapped to a dataSource changing units of an assigned resource does no longer trigger an update / sync. For example if units is changed and saved in the following dialog:

Units.ongs.png
Units.ongs.png (54.92 KiB) Viewed 473 times

no sync/update is triggered.


Post by mats »


Post Reply