Hello, I have been working on a custom tag historian using the new historian interfaces. My module was working on 8.3.0, but I am seeing an issue when running against 8.3.1. Whenever I select my custom historian type in the UI, the default values are not shown. Then if I create an instance and try to edit it I get the following screen.
Interestingly, If I remove my overridden defaultSettings method then the form appears again.
@Override
public Optional<CustomHistorianSettings> defaultSettings() {
return Optional.of(CustomHistorianSettings.DEFAULT);
}
I have tried using the DefaultValue annotation in my implementation of HistorianSettings instead of the getSettings method to get around the issue but the UI still does not show the default values for my custom settings. Here is my implementation of getWebUiComponent in HistorianExtensionPoint
@Override
public Optional<WebUiComponent> getWebUiComponent(ComponentType type) {
return Optional.of(
new ExtensionPointResourceForm(
HistorianExtensionPoint.getResourceType(),
"Historian",
typeId(),
SchemaUtil.fromType(HistorianProvider.class),
SchemaUtil.fromType(CustomHistorianSettings.class),
Collections.emptySet()
)
);
}
I have confirmed that typeId matches what is being passed into HistorianExtensionPoint
public CustomHistorianExtensionPoint(@NotNull String typeId, @NotNull String nameKey, @NotNull String descriptionKey) {
super(typeId, nameKey, descriptionKey);
}

