gsf icon indicating copy to clipboard operation
gsf copied to clipboard

Update to Wizard screen for "Use Source Prefix" option

Open ritchiecarroll opened this issue 1 year ago • 3 comments

Fixes "Violation of UNIQUE KEY constraint 'UK_UniqueID'" for config frames that contain existing device acronyms and user selects "Use Source Prefix", which makes device acronyms unique, but was using UniqueID from existing device acronym.

ritchiecarroll avatar Jun 24 '24 16:06 ritchiecarroll

I guess this still doesn't fix the case where you update the device names manually.

StephenCWills avatar Jun 24 '24 18:06 StephenCWills

I guess this still doesn't fix the case where you update the device names manually.

No, guess not. However, in this case at least the record is highlighted as a duplicate / already existing, so there's user feedback on record being duplicated.

I'll see if I can handle this use case as well.

ritchiecarroll avatar Jun 24 '24 23:06 ritchiecarroll

I guess this still doesn't fix the case where you update the device names manually.

This should do it: https://github.com/GridProtectionAlliance/gsf/pull/261/commits/32c1b9a90c4a5bf9fe0ca5b1031d4cae8bf7d803

Any "new device", by manual entry or otherwise, gets unqiue ID vallidation.

ritchiecarroll avatar Jul 03 '24 14:07 ritchiecarroll