Footer redered before content in bundle plugin
----------------------------------------------

                 Key: FELIX-1020
                 URL: https://issues.apache.org/jira/browse/FELIX-1020
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-1.2.8
            Reporter: Thomas Diesler


The BundlesServlet incorrectly renders the content like this

        pw.println( "<div id='plugin_content'/>");
        Util.startScript( pw );
        pw.print( "renderBundles(");
        writeJSON(pw, reqInfo.bundle);
        pw.println(");" );
        Util.endScript( pw );

It should however be 

        pw.println( "<div id='plugin_content'>");
        Util.startScript( pw );
        pw.print( "renderBundles(");
        writeJSON(pw, reqInfo.bundle);
        pw.println(");" );
        Util.endScript( pw );
        pw.println( "</div");

The <script> tag should be enclosed in the <div>

The effect of the bug is that the footer appears before the content 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to