Skip to content

Portfolio alert with scope GLOBAL_AUDIT_CHANGE broken after upgrade from 3.8.0 to 4.1.0 #8

@dfn-certling

Description

@dfn-certling

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:

  1. Set up a portfolio alert with 3.8.0 including GLOBAL_AUDIT_CHANGE
  2. Migrate to 4.1.0
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions