Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7090

Error message when changing a block definition in a light module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 5.5.5
    • None
    • None

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Bug DoR
                    Task DoD