wso2 / financial-open-banking

WSO2 Open Banking Accelerator is a collection of technologies that increases the speed and reduces the complexity of adopting open banking compliance. Instead of building a solution from scratch, you can use WSO2 Open Banking Accelerator to meet all legislative requirements with additional benefits beyond compliance.
Apache License 2.0
7 stars 21 forks source link

[Bug Fix] Fixing cast exception for postgresql in event notification #71

Closed anjuchamantha closed 3 weeks ago

anjuchamantha commented 4 weeks ago

[Bug Fix] Fixing cast exception for postgresql in event notification

There is a casting exception issue in event notification subscription flow while using PostgreSql. When request is stored in postgres database following error comes.

"request" is of type json but expression is of type character varying

This is fixed with this PR.


Development Checklist

  1. [x] Build complete solution with pull request in place.
  2. [x] Ran checkstyle plugin with pull request in place.
  3. [x] Ran Findbugs plugin with pull request in place.
  4. [ ] Ran FindSecurityBugs plugin and verified report.
  5. [x] Formatted code according to WSO2 code style.
  6. [x] Have you verified the PR doesn't commit any keys, passwords, tokens, usernames, or other secrets?
  7. [ ] Migration scripts written (if applicable).
  8. [x] Have you followed secure coding standards in WSO2 Secure Engineering Guidelines?

Testing Checklist

  1. [ ] Written unit tests.
  2. [x] Verified tests in multiple database environments (if applicable).
  3. [ ] Tested with BI enabled (if applicable).