Current Behavior:
A portfolio alert set up under 3.8.0 with scope GLOBAL_AUDIT_CHANGE is broken after upgrade to 4.1.0. It cannot be seen in the frontend and raises the following error
java.lang.IllegalArgumentException: No enum constant org.dependencytrack.notification.NotificationGroup.GLOBAL_AUDIT_CHANGE
It seems like GLOBAL_AUDIT_CHANGE was removed from 4.1.0 but the migration of previous alerts may be incomplete.
Steps to Reproduce:
- Set up a portfolio alert with 3.8.0 including GLOBAL_AUDIT_CHANGE
- Migrate to 4.1.0
- Access portfolio alerts in the frontend
Expected Behavior:
The alert should be visible and working.
Environment:
- Dependency-Track Version: 4.1.0
- Distribution: Executable WAR
- BOM Format & Version:
- Database Server: PostgreSQL
- Browser: Firefox