felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-1020) Footer redered before content in bundle plugin
Date Wed, 01 Apr 2009 07:11:12 GMT
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.


Mime
View raw message