Skip to content

fixes SetColumnName/SetRowName not removing old name from label map#209

Merged
d99kris merged 1 commit into
d99kris:dev/integrate-change-column-name-fixfrom
MarkLee131:fix/setname-stale-label-mapping
Apr 4, 2026
Merged

fixes SetColumnName/SetRowName not removing old name from label map#209
d99kris merged 1 commit into
d99kris:dev/integrate-change-column-name-fixfrom
MarkLee131:fix/setname-stale-label-mapping

Conversation

@MarkLee131

Copy link
Copy Markdown
Contributor

Fix #208:

SetColumnName and SetRowName add the new name to the internal label map but do not remove the old name. After renaming, the old name still resolves via GetColumnIdx/GetRowIdx, which can cause silent data misdirection when the old name is used after a rename.
Remove the old name from the map before inserting the new one. Add test104 to verify old names are properly cleaned up.

SetColumnName and SetRowName add the new name to the internal label
map but do not remove the old name. After renaming, the old name
still resolves via GetColumnIdx/GetRowIdx, which can cause silent
data misdirection when the old name is used after a rename.

Remove the old name from the map before inserting the new one.
Add test104 to verify old names are properly cleaned up.
@d99kris d99kris self-assigned this Mar 29, 2026
@d99kris

d99kris commented Apr 4, 2026

Copy link
Copy Markdown
Owner

Thanks for contributing! Generally the patch looks good. I'll merge your fix into an integration branch and make some minor adjustments there.

@d99kris d99kris changed the base branch from master to dev/integrate-change-column-name-fix April 4, 2026 05:43
@d99kris d99kris merged commit d10bdd5 into d99kris:dev/integrate-change-column-name-fix Apr 4, 2026
3 checks passed
@d99kris

d99kris commented Apr 4, 2026

Copy link
Copy Markdown
Owner

This fix has been integrated to master in 0a39ed1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SetColumnName / SetRowName does not remove the old name from the label map

2 participants