You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Victor Antonovich (JIRA)" <ji...@apache.org> on 2009/07/28 10:19:14 UTC
[jira] Created: (FELIX-1415) "Reload" button in webconsole bundles
list doesn't work
"Reload" button in webconsole bundles list doesn't work
-------------------------------------------------------
Key: FELIX-1415
URL: https://issues.apache.org/jira/browse/FELIX-1415
Project: Felix
Issue Type: Bug
Components: Web Console
Affects Versions: webconsole-1.2.12
Reporter: Victor Antonovich
Pushing of "Reload" button in webconsole bundles list does nothing. Traffic analysis shows that bundles.js script issues request to '/system/console/bundles/.json' path with HTTP 404 error response. Patch below fixes this bug:
Index: src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
===================================================================
--- src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java (revision 798431)
+++ src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java (working copy)
@@ -1084,7 +1084,7 @@
{
bundleInfo = info.substring(1);
}
- if ( bundleInfo == null )
+ if ( bundleInfo == null || bundleInfo.length() == 0 )
{
bundle = null;
bundleRequested = false;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FELIX-1415) "Reload" button in webconsole bundles
list doesn't work
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-1415.
-----------------------------------
Resolution: Fixed
Fix Version/s: webconsole-1.2.12
Thanks for your patch, Victor!
It's now applied in trunk
> "Reload" button in webconsole bundles list doesn't work
> -------------------------------------------------------
>
> Key: FELIX-1415
> URL: https://issues.apache.org/jira/browse/FELIX-1415
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-1.2.12
> Reporter: Victor Antonovich
> Fix For: webconsole-1.2.12
>
>
> Pushing of "Reload" button in webconsole bundles list does nothing. Traffic analysis shows that bundles.js script issues request to '/system/console/bundles/.json' path with HTTP 404 error response. Patch below fixes this bug:
> Index: src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
> ===================================================================
> --- src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java (revision 798431)
> +++ src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java (working copy)
> @@ -1084,7 +1084,7 @@
> {
> bundleInfo = info.substring(1);
> }
> - if ( bundleInfo == null )
> + if ( bundleInfo == null || bundleInfo.length() == 0 )
> {
> bundle = null;
> bundleRequested = false;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.