[MGNLDEMO-216] Error when changing template in a component variant Created: 02/Jun/17  Updated: 21/Aug/18

Status: Open
Project: Magnolia Demo Projects
Component/s: magnolia-travels
Affects Version/s: 1.1.3
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Antti Hietala Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File MGNPN-390.patch     File catalina.out    
Issue Links:
duplicate
is duplicated by MGNLPN-390 Changing template in Component Varian... 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
Date of First Response:

 Description   

Travel Demo throws an error when you change the template of a component variant.

To reproduce:

  1. Edit travel home page.
  2. Select the Tourtype Teaser Row component ("Which tour type are you?")
  3. Switch to component variant "Tour type is known"
  4. Change the component variant's template to "Featured Tours (by TourType)"

Error:

2017-06-02 17:45:22,179 ERROR ation.ui.pages.dialog.ComponentFormDialogPresenter: An error occurred while executing an action.
info.magnolia.ui.api.action.ActionExecutionException: Action execution failed for action: commit
...
Caused by: info.magnolia.config.registry.Registry$NoSuchDefinitionException
	at info.magnolia.config.registry.AbstractRegistry.getProvider(AbstractRegistry.java:129)

Full error log attached.

The ability to change the template was introduced with MGNLPN-295



 Comments   
Comment by Roman Kovařík [ 05/Jun/17 ]

Looks like the dialog for Featured Tours is missing in the registries, reproducable without variants.

Comment by James Spence [ 06/Mar/18 ]

What I believe the root cause is - https://jira.magnolia-cms.com/browse/PAGES-155

Comment by David Heinst [ 20/Aug/18 ]

I agree with James that the root cause is related with PAGES-155.

However, I can see that the issue is open for a quite long time. When can we expect the issue to be resolved?

Comment by David Heinst [ 21/Aug/18 ]

Hi All,

Please find the patch submitted: MGNPN-390.patch

Hopefully will be approved and released with the next version of pages-app.

 

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