| Summary: | [client] "Reload" plugin doesn't work right after installing the plugin | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Client | Assignee: | Simon Kaegi <simon_kaegi> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | simon_kaegi |
| Version: | 0.2 | ||
| Target Milestone: | 1.0 M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Mark Macdonald
Jeez a feature is not even in for one day and people are already complaining ;) I think this usecase is important at dev time but not typical in production so think hitting F5 is ok for 0.2. What's happening here is our call to load the plugin is being ignored the second time because the plugin is marked as loaded already. What we need to do something like a force load command on the plugin. I also noticed that if you install a plugin that fails (due to a programming error), then fix the error and try to install it again, it will fail again until you reload the page. Sounds like the same issue, so I'll just mention it here rather than open a new bug This is more an implementation note and reminder to write tests for me: Plugin states -- "uninstalled", "installed", "enabled", "loaded" Plugin event types -- "uninstalled", "installed", enabled", "disabled", "loaded", "unloaded", "updated" Fixed in Master |