-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore(backend):783 added validation to notification service not allowing… #1230
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a short description of the feature/fix to the Changelog.md.
Integration Test Results342 tests 341 ✅ 1m 38s ⏱️ For more details on these failures, see this check. Results for commit 11e2127. ♻️ This comment has been updated with latest results. |
Unit Test Results210 tests 210 ✅ 19s ⏱️ Results for commit 11e2127. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a short description of the feature/fix to the Changelog.md.
✅ No Dependency Check findings were found |
@@ -74,7 +74,7 @@ | |||
throw new InvestigationReceiverBpnMismatchException("BPN of sender cannot be null."); | |||
} | |||
if (applicationBPN.value().equals(senderBPN)) { | |||
throw new NotificationSenderAndReceiverBPNEqualException(BPN.of(senderBPN), edcNotification.getNotificationId()); | |||
throw new NotificationSenderAndReceiverBPNEqualException(senderBPN, Long.valueOf(edcNotification.getNotificationId())); |
Check notice
Code scanning / CodeQL
Missing catch of NumberFormatException
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a short description of the feature/fix to the Changelog.md.
Quality Gate failed for 'Trace-X Root'Failed conditions |
...test/java/org/eclipse/tractusx/traceability/integration/notification/EditNotificationIT.java
Outdated
Show resolved
Hide resolved
…egration/notification/EditNotificationIT.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a short description of the feature/fix to the Changelog.md.
Quality Gate passed for 'TX Traceability FOSS frontend'Issues Measures |
… bpn mismatch
resolves eclipse-tractusx#783