Skip to content

Initial Services page load triggers a backend exception #1135

Open
@gregorydlogan

Description

@gregorydlogan

Upon first load of the services tab, I'm seeing a request to http://tenant-b.localtest.me/admin-ng/services/services.json?limit=50&offset=0&sort=date:DESC, which throws a big ugly stack trace beginning with

2025-03-07 11:49:26,214 | WARN  | (ServicesEndpoint:180) - Failed to sort services collection.                                                
java.lang.IllegalArgumentException: Can't sort services by date.                                                                              
        at org.opencastproject.adminui.endpoint.ServicesEndpoint$ServiceStatisticsComparator.<init>(ServicesEndpoint.java:369) ~[?:?]         
        at org.opencastproject.adminui.endpoint.ServicesEndpoint.getServices(ServicesEndpoint.java:178) ~[?:?]                                

Now, the backend shouldn't be throwing that exception like that, but the query the admin ui is sending is also wrong/doesn't make sense, so I'm filing this in both :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions