You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by st...@apache.org on 2013/01/05 15:44:49 UTC
svn commit: r1429299 - in /lucene/dev/branches/branch_4x: ./ solr/
solr/CHANGES.txt solr/webapp/ solr/webapp/web/js/scripts/logging.js
Author: steffkes
Date: Sat Jan 5 14:44:49 2013
New Revision: 1429299
URL: http://svn.apache.org/viewvc?rev=1429299&view=rev
Log:
SOLR-3829: Admin UI Logging events broken if schema.xml defines a catch-all dynamicField with type ignored (merge r1429298)
Modified:
lucene/dev/branches/branch_4x/ (props changed)
lucene/dev/branches/branch_4x/solr/ (props changed)
lucene/dev/branches/branch_4x/solr/CHANGES.txt (contents, props changed)
lucene/dev/branches/branch_4x/solr/webapp/ (props changed)
lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/logging.js
Modified: lucene/dev/branches/branch_4x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/CHANGES.txt?rev=1429299&r1=1429298&r2=1429299&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_4x/solr/CHANGES.txt Sat Jan 5 14:44:49 2013
@@ -440,6 +440,9 @@ Bug Fixes
* SOLR-4263: Incorrect Link from Schema-Browser to Query From for Top-Terms
(steffkes)
+* SOLR-3829: Admin UI Logging events broken if schema.xml defines a catch-all
+ dynamicField with type ignored (steffkes)
+
Other Changes
----------------------
Modified: lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/logging.js
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/logging.js?rev=1429299&r1=1429298&r2=1429299&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/logging.js (original)
+++ lucene/dev/branches/branch_4x/solr/webapp/web/js/scripts/logging.js Sat Jan 5 14:44:49 2013
@@ -318,6 +318,14 @@ var load_logging_viewer = function()
{
var doc = docs[i];
+ if( 1 === doc.time.length )
+ {
+ for( var key in doc )
+ {
+ doc[key] = doc[key][0];
+ }
+ }
+
if( !doc.trace )
{
var lines = doc.message.split( "\n" );