View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004238||SymmetricDS Pro||Bug||public||2020-01-14 18:51||2020-01-14 18:51|
|Summary||0004238: Can't delete group links once created|
|Description||Once group links are created, even though there are no routers or transforms that use this group link, the system never enables the delete button.|
The reason is that there is a built-in transform (a LOAD transform) that is created for every group link, and the system sees that as a use of the group link, therefore not enabling the delete button on the Group Link screen.
|Steps To Reproduce||1. Create two groups.|
2. Link the two groups. Do not define routers of transforms that use this new group link.
3. Select the link and try to delete the group link.
|Additional Information||TransformService.findTransformsFor() eventually always finds a transform (the built-in transform).|
The transform ID is null, if you want to use that as the indicator that this is a built-in transform.
Or you can modify the model to add a builtIn indicator to the model, setting the indicator when built-in and clearing the indicator when reading from the DB.
Or you can change the code to ignore the cache, and always retrieve the transforms when needed, and not populate with the built-in transforms.