Repository navigation
fix(engine): Reload and Repair compare the field each name reads, not every field of that name ignoring case (#3560) - #3595
Conversation
… every field of that name ignoring case (opengeos#3560) A filter on KEEP could start reading keep once KEEP was gone, and an unchanged file with KEEP (number) and keep (text) was refused as not numeric.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
📖 Docs preview
GitHub Pages takes a minute or two to publish a new commit. Newer commits from the fork aren't published until a maintainer adds the |
|
Thanks for contributing this @Beehtrix! |
Summary
Reload Data and Repair Data Source judged a replacement by field name ignoring case, which goes wrong when two fields differ only by case.
compatiblenow compares the field each name reads before and after, using the engine's own resolution (Dataset::field_index, the first field so named).KEEPbecomeskeep). Before, a filterkeep = 1that readKEEPsilently readkeeponceKEEPwas removed.KEEP(number) andkeep(text) was refused with "field KEEP must remain numeric".KEEPrenamed tokeep, is accepted as before.Testing
repair_source_refuses_a_filter_that_would_read_the_other_case_folded_fieldandrepair_source_checks_only_the_case_folded_field_a_name_reads. Both fail without the change and pass with it.cargo test -p rustgis-engine repair,cargo fmt --check,cargo clippy -p rustgis-engine -- -D warningspass.cargo xtask ci, since it builds the whole workspace; CI covers the rest.UI evidence
No visible UI change.
Related issue
Fixes #3560
Summary by CodeRabbit