sanyaade-iot / freedomotic

Automatically exported from code.google.com/p/freedomotic
Other
0 stars 0 forks source link

Allow disabling commands/triggers/reactions of an object if the related plugin is not loaded #206

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load freedomotic with a plugin that has some object related triggers or 
commands 
2. Assign this triggers/commands to an object
3. Close freedomotic (so it saves the configuration)
4. Delete the plugin
5. Start freedomotic

Now the triggers/command assigned to the object are not found anymore at load 
time because they are provided by the deleted plugin in its data/trg and 
data/cmd folders.

The reference to this data in the object must remain but marked as disabled to 
not generate errors when they are called

What is the expected output? What do you see instead?

This commands/triggers/reactions must remain in the object configuration but 
marked as disabled.

Please provide any additional information below.

NOTE: Remember you can attach the LOG FILE to this issue to help the defect
source identification.

Original issue reported on code.google.com by enrico.n...@gmail.com on 24 Nov 2012 at 2:53