[Geoserver-devel] [JIRA] (GEOS-8216) MenuPageInfo Faulty Generics

Niels Charlier created an issue

GeoServer / BugGEOS-8216

MenuPageInfo Faulty Generics

Issue Type:

BugBug

Assignee:

Niels Charlier

Components:

Wicket UI

Created:

08/Jul/17 3:46 PM

Priority:

MediumMedium

Reporter:

Niels Charlier

It is impossible to create a MenuPageInfo programmatically, because of a wrong usage of generics.
It only works through Spring, because spring ignores generics.

MenuPageInfo has an associated class, which should be a subclass of GeoServerBasePage.

However. MenuPageInfo extends ComponentInfo, rather than ComponentInfo<?extends GeoServerBasePage> that means that the associated class MUST be GeoServerBasePage.class itself, which doesn’t make sense.

Add Comment

Add Comment

Get JIRA notifications on your phone! Download the JIRA Cloud app here.


This message was sent by Atlassian JIRA (v1000.1110.1#100054-sha1:b032392)

Atlassian logo