[CONTEDIT-521] Error when creating content-app with MultiBlock Created: 28/Feb/23  Updated: 21/Jun/23  Resolved: 21/Jun/23

Status: Closed
Project: Content Editor
Component/s: None
Affects Version/s: 2.1.3
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Laura Podkoritnik
Resolution: Not an issue Votes: 0
Labels: Nucleus_AuthX_Support
Remaining Estimate: 0d
Time Spent: 3h
Original Estimate: Not Specified

Attachments: Zip Archive article-module.zip    
Issue Links:
Problem/Incident
documentation
to be documented by CONTEDIT-553 DOCU: multiBlockJcr use space clarifi... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Documentation update required:
Yes
Date of First Response:
Epic Link: AuthorX Support
Sprint: Nucleus 39
Story Points: 1
Team: AuthorX
Work Started:

 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


Generated at Mon Feb 12 00:21:13 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.