HughP / simal

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

Registration of Wookie widget list not refreshed #298

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The WookieServerConnection now gets the widgets from the Wookie server only 
once. This leads to a number of problems, most notably:

- When a new widget is deployed in the Wookie server after the first connection 
has been made between Simal and the Wookie server, it won't be fetched by 
Simal. It appears in Simal as if the new widget is not there.
- If the Wookie server is stopped this won't be noted by the 
WookieServerConnection. The cached list of widgets is still displayed on the 
ToolsPage (in the admin section), but with broken images.
- The new 'add project' link in the menu will not change in a link to the 
doapcreator widget if this widget is deployed in the Wookie server after the 
initial list of widgets has been fetched.

The only workaround for all these cases is to reboot Simal. 

A solution can be to refresh the widgets list when loading the ToolsPage, or 
provide a 'refresh' button on that page to refresh the list on demand.

Original issue reported on code.google.com by sander.v...@oucs.ox.ac.uk on 18 Jun 2010 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by sander.v...@oucs.ox.ac.uk on 4 Aug 2010 at 7:59

GoogleCodeExporter commented 9 years ago
An extra problematic scenario is when the widget had been deployed but is later 
removed from the widget server. Because the list of widgets is not refreshed 
Simal thinks the widget is still there, even though it's not. (Issue 358)

Original comment by sander.v...@oucs.ox.ac.uk on 25 Nov 2010 at 10:13

GoogleCodeExporter commented 9 years ago

Original comment by sander.v...@oucs.ox.ac.uk on 25 Nov 2010 at 10:13