[MGNLUI-5116] previewDefinition in jcr data source def. should be optional not mandatory Created: 28/Mar/19  Updated: 05/Mar/21  Resolved: 05/Mar/21

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

Type: Improvement Priority: Neutral
Reporter: Christoph Meier Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLUI-5098 DOC: previewDefinition property of Jc... Closed
supersession
is superseded by MGNLUI-5928 Remove preview from choosers where th... 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)

 Description   

The property previewDefinition in a JcrDatasourceDefinition currently is required.
If it is not set - the app throws a NullPointerEx. while starting the app.
See error stack trace.

We should make the property optional and handling the missing preview definition more gracefully. 


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