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

HomeSeer Error Plug-In AK Arylic_Linkplay has characters in its name that cannot be used. #293

Closed alexbk66 closed 2 years ago

alexbk66 commented 2 years ago

HomeSeer Error Plug-In AK Arylic_Linkplay has characters in its name that cannot be used.

What character? It doesn't like the underscore? What exactly do I need to fix?

jldubz commented 2 years ago

@alexbk66 ,

See the release notes for v1.2.5.0 - https://homeseer.github.io/Plugin-SDK-Docs/release_notes/pluginsdk_releasenotes_1_2_5_0.html

The rules for IDs were configured to warn you about future changes that will stop your plugins from working.

Change ID handling for plugins and JUI views. (PSDK-140) (GitHub Issue 178) !"#$%&'()*+,/:;<=>?@[]^`{|}~ and space are all considered special characters that should not be used. The existence of certain special characters in plugin IDs is causing undesired behavior. This includes previously accepted characters like '_' (underscores). We will be updating the list of restricted characters over time to ensure that all plugins can shift if needed. We understand that this is not easy to handle if your plugin manages devices or events, and we are working on additional tools for you to use if you do need to make changes to your IDs. This change starts with warnings written to the HS logs if a special character is detected in a plugin ID only while in developer mode. At a future date, this will change to stop plugins from running if they are using a special character in their ID. JUI view IDs with special characters like '.' may cause javascript errors during runtime. To reduce the likelihood of these errors, all JUI javascript code has been adjusted to use '-' in place of '.' and you will now receive a warning in the HS logs (while in developer mode) if a special character is detected in a view ID.