Open atchoo78 opened 1 year ago
As you can see here: #12 , this issue has been a problem at least since 2020. Can you please fix it? That said, I can’t seem to get any plugins to load anymore (apart from the ones already on the distribution set), and the icon for the configuration doesn’t show up at all, no matter what I do.
Edit: Most of the plugin issues mentioned were resolved a couple of days after I wrote this. I don’t know why, who and how, but thanks anyway!
Hi again,
I don’t know where else to address this issue…feel free to remove it. But the thing is: All plugins containing configuration values (i.e. every plugin I made) are in fact useless at the moment, and they have been for a relatively long time. Why? Because the "minimumLength" and "maximumlength" field values (subclasses configuration.ConfigurationString and configuration.ConfigurationNumber) are in fact creating a catch 22 of its own:
If there is a blank config field, the user isn’t allowed to write anything if the minimum length isn’t defined specifically. If defined, it must be set to -1 or 0, or it catapults the local webserver containing the plugin configuration into a bug/nag-fest galore where your only option is to force quit the browser.
If your character count goes above the maximum value….same result if you backspace beyond the minimum char value. But for the most part, the most annoying about all of this, is that you’re not allowed to write anything into the configuration. The Pushover plugin has a 30 character (!) minimum value and 30 characters (!) maximum…i.e. it can’t be used.
Even my dead simple blink(1) plugin that only has a maximum length for one of the fields set, breaks beyond repair if you happen to erase the example IP address. You can remove it from the Tellstick, but the Telllstick will remember and keep the empty default value to infinity and beyond in Telldus.conf, which means the plugin is a waste of virtual memory space if you don’t happen to have SSH access to the Tellstick.
The good news is that this is very easy to fix:
That way you never release that specific deathmonkey, and the plugins can be put to good use again. I don’t know if there is anyone working at #telldus here anymore (@mickeprag?), but they need to know this, because it’s downright annoying as f**k when you painted yourself into a corner. Fix please.
Sincerely,
Grouchy
old manplugin and web developer