[Import] [Contribution] Cleanup templates & form variables, following contact pattern #23683
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Cleanup templates & form variables, following contact pattern
Before
When doing an contribution import if you go forwards to the MapField screen and then BACK to the DataSource screen you get a fatal error
After
Fixed - in addition I have applied a bunch of shareable techniques from the contribution import to help align the code.
Technical Details
This came about because things were reviewed & merged in orders other than they were developed in. I wasn't entirely surprised - hence I have been doing r-run testing on what is merged
I suspect other imports will be impacted but I will test them one by one & put up PRs - it seems that for review in this area a lot of code area but a small r-run testing surface area is what reviewers want. This DOES have changes that affect contact too - I have r-run against both - but note the contact changes CAN be tested & merged separately via #23680
It would be nice to extend the queue usage to this - I need to work through the return codes for pledge, soft credit to sort that out
Comments