fix: [PIDM-1487] add missing cbill set to update mapper#584
Merged
dylantangredi-jakala merged 5 commits intomainfrom Feb 13, 2026
Merged
fix: [PIDM-1487] add missing cbill set to update mapper#584dylantangredi-jakala merged 5 commits intomainfrom
dylantangredi-jakala merged 5 commits intomainfrom
Conversation
5 tasks
ciuffagianluca
previously approved these changes
Feb 11, 2026
pietro-tota
previously approved these changes
Feb 12, 2026
pietro-tota
approved these changes
Feb 12, 2026
ciuffagianluca
approved these changes
Feb 13, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



List of Changes
Motivation and Context
This change was required to fix a problem where the CBILL filed would get emptied when updating the creditor institution info. This goes together with the front end fix here ->
How Has This Been Tested?
verify cbillCode is currently "4444"
curl -s "http://localhost:8080/creditor-institutions/99999000013" \-H "Authorization: Bearer <JWT>" | python3 -m json.toolresponse
{ "ciTaxCode": "99999000013", "enabled": true, "businessName": "EC DEMO DIRECT", "cbillCode": "4444", "address": { "location": "Via Roma", "city": "Roma", "zipCode": "80122", "countryCode": "RM", "taxDomicile": "Via Roma" }, "pspPayment": false, "reportingFtp": false, "reportingZip": false }simulate the frontend payload (no cbillCode AS IS, fixed with PR -> )
curl -X PUT "http://localhost:8080/creditor-institutions/99999000013" \-H "Authorization: Bearer <JWT>" \-H "Content-Type: application/json" \-d '{"creditorInstitutionCode":"99999000013","enabled":true,"businessName":"EC DEMO DIRECT","address":{"location":"Via Roma","city":"Roma","zipCode":"80122","countryCode":"RM","taxDomicile":"Via Roma"},"pspPayment":false,"reportingFtp":false,"reportingZip":false}'check if cbillCode was wiped (proves the bug still exists without the FE fix)
curl -s "http://localhost:8080/creditor-institutions/99999000013" \ -H "Authorization: Bearer <JWT>" | python3 -m json.toolresponse
{ "ciTaxCode": "99999000013", "enabled": true, "businessName": "EC DEMO DIRECT", "address": { "location": "Via Roma", "city": "Roma", "zipCode": "80122", "countryCode": "RM", "taxDomicile": "Via Roma" }, "pspPayment": false, "reportingFtp": false, "reportingZip": false }restore and now simulate the fixed frontend payload (with cbillCode)
curl -X PUT "http://localhost:8080/creditor-institutions/99999000013" \-H "Authorization: Bearer <JWT>" \-H "Content-Type: application/json" \-d '{"creditorInstitutionCode":"99999000013","enabled":true,"businessName":"EC DEMO DIRECT","cbillCode":"4444","address":{"location":"Via Roma","city":"Roma","zipCode":"80122","countryCode":"RM","taxDomicile":"Via Roma"},"pspPayment":false,"reportingFtp":false,"reportingZip":false}'verify cbillCode is preserved
curl -s "http://localhost:8080/creditor-institutions/99999000013" \ -H "Authorization: Bearer <JWT>" | python3 -m json.toolresponse
{ "ciTaxCode": "99999000013", "enabled": true, "businessName": "EC DEMO DIRECT", "cbillCode": "4444", "address": { "location": "Via Roma", "city": "Roma", "zipCode": "80122", "countryCode": "RM", "taxDomicile": "Via Roma" }, "pspPayment": false, "reportingFtp": false, "reportingZip": false }Screenshots (if appropriate):
Types of changes
expected)
Checklist: