Skip to content

Correct metadata load for NodeRecordType for robustness (#6277)#6285

Merged
tex3d merged 1 commit intomicrosoft:release-1.8.2403from
tex3d:cp-node-recordtype-metadata-load
Feb 13, 2024
Merged

Correct metadata load for NodeRecordType for robustness (#6277)#6285
tex3d merged 1 commit intomicrosoft:release-1.8.2403from
tex3d:cp-node-recordtype-metadata-load

Conversation

@tex3d
Copy link
Copy Markdown
Contributor

@tex3d tex3d commented Feb 12, 2024

Metadata loading for node record properties assumed fixed positions for values in a (key,value) property list, skipping and ignoring the keys.

This was not correct, fragile, and not the intended implementation of the key,value property pattern.

There is no functional change, but this makes the loader robust to additional properties instead of crashing or loading the wrong thing.

Fixes #6276

(cherry picked from commit b3be6f2)

Metadata loading for node record properties assumed fixed positions for
values in a (key,value) property list, skipping and ignoring the keys.

This was not correct, fragile, and not the intended implementation of
the key,value property pattern.

There is no functional change, but this makes the loader robust to
additional properties instead of crashing or loading the wrong thing.

Fixes microsoft#6276

(cherry picked from commit b3be6f2)
@tex3d tex3d requested a review from a team as a code owner February 12, 2024 20:55
@pow2clk pow2clk self-requested a review February 12, 2024 21:01
@tex3d tex3d enabled auto-merge (squash) February 12, 2024 23:43
@tex3d tex3d merged commit 6d65277 into microsoft:release-1.8.2403 Feb 13, 2024
@tex3d tex3d deleted the cp-node-recordtype-metadata-load branch February 13, 2024 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants