HomeSeer / Plugin-SDK

Plugin development kit for the 4th major edition of the HomeSeer platform.
https://www.nuget.org/packages/HomeSeer-PluginSDK/
GNU Affero General Public License v3.0
20 stars 4 forks source link

Odd behaviour JSON updateplugin #345

Open BernoldNL opened 1 year ago

BernoldNL commented 1 year ago

Environment

HomeSeer

OS

[Windows]

HS Version

[v4.2.17.0]

Page

What page did you encounter this on? /JSON?request=updateplugin&plugin=NAME

Problem

Description

Describe the issue you are encountering. What are you seeing?

When using JSON API updateplugin request I see the following unexpected behaviour:

  1. Seems to only update Legacy plugins, not HS4 plugins.
  2. Seems not to accept names with (url encoded) space (either + or %20)
  3. While having Legacy Z-Wave plugin current release version 3.0.10.0 installed, using /JSON?request=updateplugin&plugin=Z-Wave will install 3.0.9.0 instead of (re)installing 3.0.10.0

Tested with several plugins, got correct names from JSON pluginlist (and tested with own HS4 plugins, changing names).

Edit March 15: Sorry, this should propably not be here as it's not PluginSDK related. Can you just register this bug in your tracking system and then close here?