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

Better feedback for install.txt [CHECKVERSION] #311

Closed BernoldNL closed 1 year ago

BernoldNL commented 2 years ago

Environment

HomeSeer

OS

Windows

HS Version

4.2.14.0, 4.2.13.0

Development

PSDK Version

N/A

Language

N/A

IDE

N/A

Dev OS

N/A

Page

What page did you encounter this on? shop.html

Problem

Description

When you set a required minimum version in install.txt with the [CHECKVERSION] command and the HS4 version is lower, you will get a general failure message: Installation of package failed. Try disabling the plugin first, then re-try the update. You will get this message even if the plugin is not enabled or even installed yet. This is not user friendly. A user may try disabling an installed older version of the plugin and still can't install the newer version.

Screenshots

Attach screenshots showing what you are seeing. N/A

Expected Behavior

What did you expect to see? A message like this: This plugin requires version <parameter 3 of [CHECKVERSION]> of HomeSeer.

Steps to Reproduce

Provide steps so the HomeSeer team can reproduce the reported problem and see the same thing: See above.

Logs

If applicable, include log output from the plugin console and/or the HomeSeer logs. If the logs take up more than a few lines, consider attaching a file. N/A

spudwebb commented 2 years ago

Tracked as HS-1707

spudwebb commented 1 year ago

This has been implemented in HS4 version 4.2.16.7