View Issue Details

IDProjectCategoryView StatusLast Update
0006116SymmetricDS ProBugpublic2023-11-20 19:41
Reporterpmarzullo Assigned Topmarzullo  
Status assignedResolutionopen 
Product Version3.15.1 
Target Version3.15.2 
Summary0006116: Creating node using import configuration does not keep the non-default values for the default channels
DescriptionWhen creating a node, and importing configuration, if the imported configuration uses non-default values for the default channels, those non-default values are lost. The default values for the default channels remain.

The issue is when creating an engine, and creating a ConfigurationService object for the engine, the constructor creates default channels with default values and overwrites the values of the imported channels.

The ConfigurationService.initDefaultChannels() method should check to see if a channel exists in the database with the default channel ID name before saving the default channel. It should also read the one from the database and save it in the defaultChannels data structure.
Steps To Reproduce1. Create a CSV configuration with default channels specified, but change some of the default values for the default channels.
2. Create a node and specify that you want to import configuration.
3. Import the configuration.
4. Finish creating the setup.
5. Look at the channels definitions.
6. The non-default values for the default channels will be set to default values instead.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-11-20 19:41 pmarzullo New Issue
2023-11-20 19:41 pmarzullo Status new => assigned
2023-11-20 19:41 pmarzullo Assigned To => pmarzullo
2023-11-20 19:41 pmarzullo Tag Attached: configuration