[MTE-99] linkSwitchableField.yaml is loaded into the dialog registry Created: 21/Dec/16  Updated: 08/Jun/20  Resolved: 08/Jun/20

Status: Closed
Project: Magnolia Templating Essentials
Component/s: None
Affects Version/s: 1.1
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Roman Kovařík Assignee: Unassigned
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MAGNOLIA-6908 YAML includes should't be placed insi... 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   
  • //mtk/dialogs/components/linkSwitchableField.yaml is only a FIELD not a dialog
  • but it's loaded into the DIALOG registry thanks to the location even it does not conform the type (field vs dialog)
  • this result into ClassCastException when calling DefinitionProvider.get()

A solution would be to move the file outside of the dialogs folder.



 Comments   
Comment by Richard Gange [ 08/Jun/20 ]

Not an issue in 6.2.1. The snippet has been moved outside the registry in some previous version. 

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