Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.5.0-beta6
-
None
-
None
Description
I recently upgraded from 3.0.0-beta4 to 2.5.0-beta6, and found that the MetadataResponse had changed from getIframeUrl to getIframeUrls (Map<String,String>). However when I try accessing the value in this map I am getting a ClassCastException.
When looking in the code I noticed,
the MetadataResponse inner class has a method getIframeUrls() with return type Map<String,String>.
However in:
the method getMetadata() shows the urls are defined as type Map<String,Uri>.
As the MetadataResponse API has been changed anyway, could it not just be changed to Map<String,Uri>? Or alternatively transform the map inside the GadgetsHandlerService?