[ 
https://issues.apache.org/jira/browse/FELIX-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856125#action_12856125
 ] 

Valentin Valchev commented on FELIX-2274:
-----------------------------------------

Well, you see, the UPnP plugin is visible only when UPnP Service is available. 
When it's gone - the plugin is also unregistered. This is what I meant for 
"device to show the plugin.."

You can also think of other situation:
1. the user opens web console and sees a list of plugins, and among them plugin 
"A"
2. while the user looks at the currently opened plugin, as example "bundles", 
the plugin "A" is uninstalled
3. although uninstalled, the user still has the plugin "A" rendered in the tabs 
above, because he didn't refresh the content
4. user clicks on plugin "A"
5. web console generates 404 - because there is no such plugin anymore

it doesn't matter who and how the plugin is unistalled. The point is that the 
user gets a plain 404 page and cannot navigate to other plugins.

As for the "[fill in the blank]" button - it will no longer be there. It is 
rendered, only when the plugin is available.

Another possibility, is that Web Console generates a page, that says "plugin A 
is no longer available, you will be redirected to the default plugin in few 
seconds", and after that period the user will get to the default plugin, 
without need to click anything.


> 404 when plugin is missing
> --------------------------
>
>                 Key: FELIX-2274
>                 URL: https://issues.apache.org/jira/browse/FELIX-2274
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>            Reporter: Valentin Valchev
>
> Currently the Web Console generates 404 (page not found) error, when a plugin 
> is missing.
> But a plugin developer might devicide to show the plugin, only when all 
> required services are available. If the user already opened the web console, 
> the label for such plugin will be rendered. After that, a required service is 
> unregistered and so is the plugin.
> At this point, when the user clicks on the label, the Web Console will 
> generate 404.
> IMHO, it's will be better, if the web console simply redirects to the default 
> plugin (bundles).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to