JetBrains / plugin-repository-rest-client

Apache License 2.0
21 stars 15 forks source link

PluginUpdateManager.getUpdateById deserialization error #48

Closed jeffmaury closed 3 years ago

jeffmaury commented 3 years ago

Marketplace is returning the list of compatible versions as a Map of products and versions. This is deserialized as a Map whose key is a ProductEnum but some requests returns GATEWAY as the enum id and it's not part of ProductEnum thus deserialization fails. You can use this example: https://plugins.jetbrains.com/api/updates/63789

AlexanderPrendota commented 3 years ago

Hey, thanks! Should be fixed in 2.0.20 version