Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PAGOPA-2017] fix: Update messageEncoding #134

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

cap-ang
Copy link
Contributor

@cap-ang cap-ang commented Aug 27, 2024

List of Changes

  • Fix encoding format

Motivation and Context

  • when read from receipts-queue-receipt-waiting-4-gen and mapBizEventListString is done the function goes in error because the input is assumed to be without encoding and not in base64 as it is

stack-trace:

Caused by: it.gov.pagopa.receipt.pdf.generator.exception.BizEventNotValidException: [GenerateReceiptProcess] Error parsing the message coming from the queue
	at it.gov.pagopa.receipt.pdf.generator.GenerateReceiptPdf.getBizEventListFromMessage(GenerateReceiptPdf.java:230)
	at it.gov.pagopa.receipt.pdf.generator.GenerateReceiptPdf.processGenerateReceipt(GenerateReceiptPdf.java:126)

more info here

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@cap-ang cap-ang added the bug Something isn't working label Aug 27, 2024
@cap-ang cap-ang requested a review from a team August 27, 2024 13:32
@cap-ang cap-ang self-assigned this Aug 27, 2024
@cap-ang cap-ang marked this pull request as ready for review August 27, 2024 13:32
Copy link

This pull request does not contain a valid label. Please add one of the following labels: [patch, minor, major, skip]

Copy link

Comment this PR with update_code to update openapi.json and format the code. Consider to use pre-commit to format the code.

Copy link

Copy link
Contributor

@pasqualespica pasqualespica left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great

@cap-ang cap-ang merged commit 82a1d82 into main Aug 27, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants