Skip to content

chore (core): Improve error handling for MIMEParsingException#31981

Merged
nollymar merged 2 commits into
mainfrom
issue-30829-Rest-API-Improve-error-handling-for-MIMEParsingException
Apr 30, 2025
Merged

chore (core): Improve error handling for MIMEParsingException#31981
nollymar merged 2 commits into
mainfrom
issue-30829-Rest-API-Improve-error-handling-for-MIMEParsingException

Conversation

@jgambarios
Copy link
Copy Markdown
Contributor

@jgambarios jgambarios commented Apr 24, 2025

Centralized Response creation logic in ExceptionMapperUtil and added specialized handling for malformed multipart errors in ResponseUtil. Updated ContentImportHelper to improve JSON form parsing with safe exception handling. Extended ExceptionUtil to include MIMEParsingException for refined error classification.

This PR fixes: #30829

Centralized Response creation logic in ExceptionMapperUtil and added specialized handling for malformed multipart errors in ResponseUtil. Updated ContentImportHelper to improve JSON form parsing with safe exception handling. Extended ExceptionUtil to include MIMEParsingException for refined error classification.
@dotcms-github-app
Copy link
Copy Markdown

Please use a Conventional Commit title format for this PR. For more information, see https://www.conventionalcommits.org/en/v1.0.0/

@nollymar nollymar enabled auto-merge April 30, 2025 15:41
@nollymar nollymar added this pull request to the merge queue Apr 30, 2025
Merged via the queue into main with commit 17747c7 Apr 30, 2025
37 checks passed
@nollymar nollymar deleted the issue-30829-Rest-API-Improve-error-handling-for-MIMEParsingException branch April 30, 2025 16:45
spbolton pushed a commit that referenced this pull request Jun 20, 2025
Centralized Response creation logic in ExceptionMapperUtil and added
specialized handling for malformed multipart errors in ResponseUtil.
Updated ContentImportHelper to improve JSON form parsing with safe
exception handling. Extended ExceptionUtil to include
MIMEParsingException for refined error classification.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rest API: Improve error handling for MIMEParsingException

5 participants