[MGNLRESTUI-38] Cannot display only an image preview using JsonItemPreviewComponent Created: 29/Oct/20  Updated: 29/Oct/20

Status: Open
Project: Magnolia REST Client UI
Component/s: None
Affects Version/s: 1.0.2
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Chris Jennings Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File IllegalArgumentException.txt    
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

 Description   

A JsonItemPreviewComponent displays a map of property names provided by the definition, JsonItemPreviewDefinition. It also displays an image thumbnail provided by the datasource.

Supplying a null property map to the definition or an empty map results in an error (attached) making it impossible to display only the image.


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