Skip to content

Apache Lucene open-source search software

SOLR-1064: registry.jsp incorrectly displaying info for last core initialized regardless of what the current core is

Chris M. Hostetter1826b73a2781
diff --git a/CHANGES.txt b/CHANGES.txt
index c31b5e5a9bb..d3f582dc7ce 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -296,6 +296,8 @@ Bug Fixes
33. SOLR-1031: Fix XSS vulnerability in schema.jsp (Paul Lovvik via ehatcher)
+34. SOLR-1064: registry.jsp incorrectly displaying info for last core initialized
+ regardless of what the current core is. (hossman)
Other Changes
----------------------
diff --git a/src/webapp/web/admin/registry.jsp b/src/webapp/web/admin/registry.jsp
index b9ea5b0a49f..db721d5f8e0 100644
--- a/src/webapp/web/admin/registry.jsp
+++ b/src/webapp/web/admin/registry.jsp
@@ -40,7 +40,7 @@ for (SolrInfoMBean.Category cat : SolrInfoMBean.Category.values()) {
%>
<<%= cat.toString() %>>
<%
- Map<String, SolrInfoMBean> reg = SolrInfoRegistry.getRegistry();
+ Map<String, SolrInfoMBean> reg = core.getInfoRegistry();
synchronized(reg) {
for (Map.Entry<String,SolrInfoMBean> entry : reg.entrySet()) {
String key = entry.getKey();