[OpenNMS/opennms] 754453: NMS-20161: Remove the unresolvable firstEvent fetc...
Marshall Massengill via opennms-cvs <[email protected]>
| Newsgroups | gmane.network.opennms.cvs |
|---|---|
| Message-ID | <OpenNMS/opennms/push/refs/heads/mm/NMS-20161-smoke/[email protected]> |
Branch: refs/heads/mm/NMS-20161-smoke
Home: https://github.com/OpenNMS/opennms
Commit: 754453869c068f73c1b28ef5979555105e355627
https://github.com/OpenNMS/opennms/commit/754453869c068f73c1b28ef5979555105e355627
Author: Marshall Massengill <[email protected]>
Date: 2026-08-07 (Fri, 07 Aug 2026)
Changed paths:
M opennms-webapp-rest/src/main/java/org/opennms/web/rest/v1/AlarmRestServiceBase.java
M opennms-webapp-rest/src/main/java/org/opennms/web/rest/v1/AlarmStatsRestService.java
Log Message:
-----------
NMS-20161: Remove the unresolvable firstEvent fetch from the v1 alarm criteria
OnmsAlarm has no firstEvent property. Its only OnmsEvent association is
lastEvent; firstEventTime is a plain column. Hibernate ignores fetch modes
whose path it cannot resolve, so this threw nothing before and throws
nothing now, but the preceding commit makes these declarations reach the
query, and a live fetch mode that resolves to nothing is a trap for the
next reader.
To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs