Fix Schedule Maintence Event Number Concatenating instead of incrementing #531

Closed
opened 2026-04-05 16:20:20 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @KoalaG on 3/18/2025

In some instances ORM/Database doesn't appear to return the correct type

Title of this pull request?

Fix Schedule Maintence Event Number Concatenating instead of incrementing

Small Description?

Simple fix to ensure that function is adding numbers instead of possibly combining a string with a number.

Pull Request Checklist:

  • Please make sure all jobs pass before requesting a review.
  • Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).
  • Have you lint your code locally before submission? - No
  • Did you write tests where appropriate?

closes #1854

Screenshots (if appropriate):

*Originally created by @KoalaG on 3/18/2025* In some instances ORM/Database doesn't appear to return the correct type ### Title of this pull request? Fix Schedule Maintence Event Number Concatenating instead of incrementing ### Small Description? Simple fix to ensure that function is adding numbers instead of possibly combining a string with a number. ### Pull Request Checklist: - [ ] Please make sure all jobs pass before requesting a review. - [x] Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such). - [ ] Have you lint your code locally before submission? - No - [x] Did you write tests where appropriate? ### Related Issue? closes #1854 ### Screenshots (if appropriate):
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#531