CDM icon indicating copy to clipboard operation
CDM copied to clipboard

Fix update process for DisplayName and Description properties

Open trickpatty opened this issue 6 months ago • 0 comments

When updating DisplayName or Description (the only two localizedTraitTable-backed properties), changes were not persisting. It looks like there was a bug in the UpdateConstantValue method which caused the original value to be written back onto the property instead of the new value.

This change fixes the behavior to act as intended (and as described in the comments which were already on the method).

This change also provides a test which covers this scenario and checks that these two properties update correctly when set through the SDK.

trickpatty avatar Aug 08 '24 02:08 trickpatty