eclipse / kapua

Eclipse Public License 2.0
222 stars 160 forks source link

Fix for Trigger Edit Duplicate Name Issue #4004

Closed MDeLuise closed 5 months ago

MDeLuise commented 5 months ago

This PR addresses the issue regards trigger edit functionality that not checking for duplicate names when modifying a schedule. The problem occurred when attempting to edit the schedule name to one that already existed, resulting in the creation of a duplicate schedule name.

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 21.08%. Comparing base (3d09cb1) to head (f9c6cd0). Report is 6 commits behind head on develop.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/eclipse/kapua/pull/4004/graphs/tree.svg?width=650&height=150&src=pr&token=1P4N4CApH8&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse)](https://app.codecov.io/gh/eclipse/kapua/pull/4004?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) ```diff @@ Coverage Diff @@ ## develop #4004 +/- ## ========================================== Coverage 21.08% 21.08% Complexity 10 10 ========================================== Files 1953 1953 Lines 41420 41420 Branches 3800 3800 ========================================== Hits 8733 8733 Misses 32283 32283 Partials 404 404 ``` | [Files](https://app.codecov.io/gh/eclipse/kapua/pull/4004?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) | Coverage Δ | | |---|---|---| | [...e/scheduler/trigger/quartz/TriggerServiceImpl.java](https://app.codecov.io/gh/eclipse/kapua/pull/4004?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9zY2hlZHVsZXIvcXVhcnR6L3NyYy9tYWluL2phdmEvb3JnL2VjbGlwc2Uva2FwdWEvc2VydmljZS9zY2hlZHVsZXIvdHJpZ2dlci9xdWFydHovVHJpZ2dlclNlcnZpY2VJbXBsLmphdmE=) | `0.00% <0.00%> (ø)` | |