Skip to content

fix: prevent error when collect metadata #4783

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

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

vitormattos
Copy link
Member

If the metadata field of a sign request is null, the array_merge function will throws an error because wait for an array as argument.

I also identified after implement the tests that when exists a previous value and this value is changed, the order of array_merge was prioritizing the previous value and the new value never was saved. I flipped the arguments of array_merge to prevent this.

If the metadata field of a sign request is null, the array_merge
function will throws an error because wait for an array as argument.

Signed-off-by: Vitor Mattos <[email protected]>
@vitormattos vitormattos added the bug Something isn't working label Apr 2, 2025
@vitormattos vitormattos added this to the Next Major (32) milestone Apr 2, 2025
@vitormattos vitormattos self-assigned this Apr 2, 2025
@github-project-automation github-project-automation bot moved this to 0. Needs triage in Roadmap Apr 2, 2025
@vitormattos
Copy link
Member Author

/backport to stable31

@vitormattos
Copy link
Member Author

/backport to stable30

@vitormattos
Copy link
Member Author

/backport to stable29

@github-project-automation github-project-automation bot moved this from 0. Needs triage to 1. to do in Roadmap Apr 3, 2025
@vitormattos vitormattos merged commit e4d3489 into main Apr 3, 2025
62 checks passed
@vitormattos vitormattos deleted the fix/prevent-error-when-collect-metadata branch April 3, 2025 18:31
@github-project-automation github-project-automation bot moved this from 1. to do to 4. to release in Roadmap Apr 3, 2025
@vitormattos vitormattos removed this from the Next Major (32) milestone Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 4. to release
Development

Successfully merging this pull request may close these issues.

2 participants