[MGNLRES-54] IllegalStateException when trying to edit new item Created: 10/Dec/12  Updated: 29/Mar/22  Resolved: 17/Dec/12

Status: Closed
Project: Magnolia Resources Module
Component/s: None
Affects Version/s: 1.5.3
Fix Version/s: 1.5.6

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

Issue Links:
causality
is causing MGNLRES-59 Adding binary resources through the a... 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
Team: Nucleus

 Description   

Steps to reproduce: Create new item in Templating Kit/resources, click Edit item:

Caused by: java.lang.IllegalStateException: No resource type selected.
	at info.magnolia.module.resources.dialogs.ResourcesEditDialog.getDialogUsedByResourceType(ResourcesEditDialog.java:111)
	at info.magnolia.module.resources.dialogs.ResourcesEditDialog.<init>(ResourcesEditDialog.java:82)

(The resource type is missing when new item is created.)


Generated at Mon Feb 12 06:46:55 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.