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

Plugin name not updating when using updater-override.json #347

Open hem-bhagat-tark opened 1 year ago

hem-bhagat-tark commented 1 year ago

Environment

HomeSeer

OS

Windows

HS Version

v4.2.18.0

Development

PSDK Version

v1.4.3.0

Language

C#

IDE

VS2022

Dev OS

Windows

Page

Manage Plugins Page

Plugin

I am creating my own plugin

Problem

Description

Note: I am using updater-override.json to update plugin.

If we update the name of a plugin that's already installed, the name shown in the updater is updated and the updater can update the plugin with no problems. However, the new name won't show up on the "Manage Plugins" page, and the plugin's status will show as "Loaded Remotely". The old name will still be visible in the Plugins dropdown. After restarting HS4, the new name will show up in the Plugins dropdown, but the issue on the Manage Plugins page will still be there.

Screenshots

image

Expected Behavior

The plugin name should update successfully.

Steps to Reproduce

  1. Create a plugin with the name Experiment.
  2. Install it in HS4 using updater-override.json.
  3. Change the name of the plugin to AnotherExperiment.
  4. Update the plugin by using updater-override.json.
  5. The update will be successful, but the plugin's name in the Manage Plugins page won't be updated, and its status will show as "Loaded Remotely". The old name will still be visible in the Plugins dropdown.
  6. Restart HS4.
  7. The updated name will now be visible in the Plugins dropdown, but the issue on the Manage Plugins page will still be there.

Logs

Not Applicable.

stefxx commented 1 year ago

Having exerienced the same issue and would love to see this resolved. Thanks!