[JSFIELD-41] Exception thrown when using Map in Map parameters Created: 12/Jun/23  Updated: 21/Jun/23  Resolved: 13/Jun/23

Status: Resolved
Project: Java Script UI (App and Dialog Fields)
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.2

Type: Bug Priority: Neutral
Reporter: Sebastian Geschke Assignee: Teresa Miyar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty

 Description   

Steps to reproduce

  1. Add JS Field to dialog
  2. Specify map in map parameters

Expected results

Map in map is serialized w/o exception 
Actual results

 

    java.lang.RuntimeException: elemental.json.JsonException: Map is missing generics
        at com.vaadin.server.JsonCodec.encodeObject(JsonCodec.java:815)
        at com.vaadin.server.JsonCodec.encode(JsonCodec.java:743)

 


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