eventmesh icon indicating copy to clipboard operation
eventmesh copied to clipboard

Fix #5205: Handle invalid SubscriptionMode values safely

Open nagarjunahp88-byte opened this issue 11 months ago • 6 comments

This PR fixes issue #5205 by improving SubscriptionModeConverter.

Changes:

  • Safely handles null and empty values
  • Normalizes input using trim and uppercase
  • Prevents IllegalArgumentException for invalid enum values

This ensures the application does not crash on invalid input.

nagarjunahp88-byte avatar Dec 23 '25 15:12 nagarjunahp88-byte

plz check code style

Pil0tXia avatar Dec 23 '25 15:12 Pil0tXia

Thanks for the review! I’ve updated the code style and added unit tests to cover invalid and null SubscriptionMode values. Please take another look.

nagarjunahp88-byte avatar Dec 23 '25 16:12 nagarjunahp88-byte

Hi, I’m a new contributor. I tried joining the ASF Slack via https://s.apache.org/slack-invite but I’m unable to join since I don’t have an @apache.org email yet. Could someone please help me with Slack access or guide me to the right channel? Thanks!

nagarjunahp88-byte avatar Dec 24 '25 05:12 nagarjunahp88-byte

The CI failure seems to be related to Gradle build scan publishing (develocity.apache.org authentication required), not a compilation or test failure.

Please let me know if this is expected or if any change is needed from my side.

nagarjunahp88-byte avatar Dec 24 '25 07:12 nagarjunahp88-byte

It has been 60 days since the last activity on this pull request. I am reaching out here to gently remind you that the Apache EventMesh community values every pull request, and please feel free to get in touch with the reviewers at any time. They are available to assist you in advancing the progress of your pull request and offering the latest feedback.

If you encounter any challenges during development, seeking support within the community is encouraged. We sincerely appreciate your contributions to Apache EventMesh.

github-actions[bot] avatar Feb 22 '26 18:02 github-actions[bot]

It has been 60 days since the last activity on this pull request. I am reaching out here to gently remind you that the Apache EventMesh community values every pull request, and please feel free to get in touch with the reviewers at any time. They are available to assist you in advancing the progress of your pull request and offering the latest feedback.

If you encounter any challenges during development, seeking support within the community is encouraged. We sincerely appreciate your contributions to Apache EventMesh.

github-actions[bot] avatar Jun 23 '26 19:06 github-actions[bot]