[MGNLUI-5620] Def.-app > Show decorations fails with ActionExecutionException Created: 10/Dec/19  Updated: 29/Jan/20  Resolved: 21/Jan/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

dx-core-demo-webapp
6.2 (Snapshot: 2019.12.06 04:00:11)
OS-X 10.14.16, Firefox 70.0.1


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
Sprint: UI Framework & 6.2 Ramp up 15
Story Points: 3

 Description   
  1. Clicking on the action Show decorations on the definition app fails and throws an ActionExecutionException.
     
    ERROR nolia.ui.contentapp.browser.ActionExecutionService: An error occurred while executing action [showDecoration]
    Could not instantiate action class for action: showDecoration

See stack trace

Root cause:
As of this commit in UI 839458aa94bdf07b8feb1ad6aef2d26c14dcfddb the MagnoliaUiGuiceComponentProviderFactory is created to eagerly and too early and fails to populate a list of the available apps (they are resolved much later). This results into improper IoC configuration in UI, including this issue.


Generated at Mon Feb 12 09:28:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.