SOLR-3829: Admin UI Logging events broken if schema.xml defines a catch-all dynamicField with type ignored

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429298 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Matheis 2013-01-05 14:43:59 +00:00
parent 4bcef71a34
commit c734e6d021
2 changed files with 11 additions and 0 deletions

View File

@ -463,6 +463,9 @@ Bug Fixes
* SOLR-4263: Incorrect Link from Schema-Browser to Query From for Top-Terms * SOLR-4263: Incorrect Link from Schema-Browser to Query From for Top-Terms
(steffkes) (steffkes)
* SOLR-3829: Admin UI Logging events broken if schema.xml defines a catch-all
dynamicField with type ignored (steffkes)
Other Changes Other Changes
---------------------- ----------------------

View File

@ -318,6 +318,14 @@ var load_logging_viewer = function()
{ {
var doc = docs[i]; var doc = docs[i];
if( 1 === doc.time.length )
{
for( var key in doc )
{
doc[key] = doc[key][0];
}
}
if( !doc.trace ) if( !doc.trace )
{ {
var lines = doc.message.split( "\n" ); var lines = doc.message.split( "\n" );