-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
None
The Config-App feature Download as YAML does not work in combination with blossom module.
There is a bug in info.magnolia.ui.framework.availability.IsDefinitionRule:
@SuppressWarnings("unchecked") private boolean hasDefinitionFor(String nodePath) { // We're doing this stuff in a sub-optimal way unless the issue MAGNOLIA-6086 is fixed for (Registry registry : registries) { Collection<DefinitionProvider> providers = registry.getAllProviders(); for (DefinitionProvider provider : providers) { if (provider.getMetadata().getLocation().equals(nodePath)) { return true; } } } return false; }
DefinitionProviders (@Template) registered by blossom seems to have no location in metadata, which leads to a NullpointerException in hasDefinitionFor method.
Acceptance criteria