Solr
  1. Solr
  2. SOLR-584

XSL for stats.jsp ignores <core>

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None

      Description

      stats.xsl doesn't do anything with the <core> info from the XML, so it gets dumped unceremoniously into the middle of the page.

      this is particulrly disconcerting in single core mode when the value is "null" (which should probably be changed in stats.jsp to something that seems less like an error)

      http://www.nabble.com/%22null%22-in-admin-page-to17486312.html

      1. stats.jsp-SOLR-584
        0.6 kB
        Yousef Ourabi
      2. stats.xsl.patch
        1 kB
        Yousef Ourabi

        Activity

        Hide
        Hoss Man added a comment -

        chrish@asimov:~/lucene/solr$ svn commit -m "SOLR-584: make stats.jsp and stats.xsl more robust to new info as they are added - spurred by core name not being displayed properly, fix also includes section for highlighting plugins and some general major refactoring of stats.xsl" CHANGES.txt src/
        Sending CHANGES.txt
        Sending src/webapp/web/admin/stats.jsp
        Sending src/webapp/web/admin/stats.xsl
        Transmitting file data ...
        Committed revision 672961.

        Show
        Hoss Man added a comment - chrish@asimov:~/lucene/solr$ svn commit -m " SOLR-584 : make stats.jsp and stats.xsl more robust to new info as they are added - spurred by core name not being displayed properly, fix also includes section for highlighting plugins and some general major refactoring of stats.xsl" CHANGES.txt src/ Sending CHANGES.txt Sending src/webapp/web/admin/stats.jsp Sending src/webapp/web/admin/stats.xsl Transmitting file data ... Committed revision 672961.
        Hide
        Yousef Ourabi added a comment -

        patch for stats.jsp, if core.getName() returns null don't create a core element with "null" string. Another patch will follow for the xsl to clean up previous iteration, and add some features like catching all un-styled xml and pretty print

        Show
        Yousef Ourabi added a comment - patch for stats.jsp, if core.getName() returns null don't create a core element with "null" string. Another patch will follow for the xsl to clean up previous iteration, and add some features like catching all un-styled xml and pretty print
        Hide
        Yousef Ourabi added a comment -

        tentative patch for stats.xsl, creates new "Multicore Mode" table and displays either "Single Core Mode" or multicore mode, with core name. We might want to think about just making this a row in the "Core" table, but this will at least star that discussion.

        Show
        Yousef Ourabi added a comment - tentative patch for stats.xsl, creates new "Multicore Mode" table and displays either "Single Core Mode" or multicore mode, with core name. We might want to think about just making this a row in the "Core" table, but this will at least star that discussion.

          People

          • Assignee:
            Hoss Man
            Reporter:
            Hoss Man
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development