-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
5.5.5
-
None
-
None
-
-
Empty show more show less
When I change the definition of a block which resides in a light module at runtime, I get this error message.
Please see attached zip for the light module.
2017-07-10 14:22:54,379 INFO info.magnolia.dirwatch.DirectoryWatcher : File resource modified at [/Users/czimmermann/demos/content-editor-5/light-modules/stories-demo/blocks/location.yaml] 2017-07-10 14:22:54,391 ERROR info.magnolia.config.registry.RegistryMap : Can't register [block] definition [location] with reference id: [location] from module [stories-demo] at [location] since a definition with the same id location is already registered as [block] definition [location] with reference id: [location] from module [stories-demo] at [location]. 2017-07-10 14:22:54,392 INFO agnolia.config.source.yaml.YamlConfigurationSource: Registered definition from YAML file [/stories-demo/blocks/location.yaml]: [block] definition [location] with reference id: [location] from module [stories-demo] at [location]
In this case, the change is however properly picked up.
When I tried previously (I was using "blockClass" instead of "class" for accident) then I was having trouble fixing it - it seemed like it was not loading the changes. But perhaps it was user error at that point.
Acceptance criteria
- caused by
-
MAGNOLIA-6589 When using DefinitionMetadataBuilder.NameMetadataBuilder() registry API doesn't handle same-name-definitions appropriately
- Closed