Uploaded image for project: 'Content Editor'
  1. Content Editor
  2. CONTEDIT-521

Error when creating content-app with MultiBlock

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Neutral
    • None
    • 2.1.3

    Description

      Steps to reproduce

      1.  Start a Magnolia project with content-editor2
      2.  Within the light-module folder, import the attached article-module
      3. Start the app Articles
      4. Clic on "Add item"
      5. Check an error is thrown

      Expected results

      The app starts and items can be added

      Actual results

      An exception is thrown:

      Caused by: info.magnolia.objectfactory.MgnlInstantiationException: Unable to resolve parameters [ContentCopier at 5] of ctor [MultiBlockView(MultiBlockDefinition, LocaleContext, Datasource, AddBlockMenuFactory, BlockRegistry, ContentCopier, ContentEditorContext)]
      at info.magnolia.objectfactory.ObjectManufacturer.newInstance(ObjectManufacturer.java:97) ~[magnolia-core-6.2.26.jar:?]
      at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstanceWithParameterResolvers(GuiceComponentProvider.java:134) ~[magnolia-core-6.2.26.jar:?]
      at info.magnolia.ui.framework.ioc.UiComponentProvider.lambda$newInstanceWithParameterResolvers$3(UiComponentProvider.java:137) ~[magnolia-ui-framework-6.2.26.jar:?]

      Workaround

      N/A

      Development notes

      N/A

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                lpodkoritnik Laura Podkoritnik
                ccantalapiedra Carlos Cantalapiedra
                AuthorX
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 3h
                      3h