Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5487FD69B for ; Thu, 6 Sep 2012 00:46:10 +0000 (UTC) Received: (qmail 7362 invoked by uid 500); 6 Sep 2012 00:46:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 7281 invoked by uid 500); 6 Sep 2012 00:46:08 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 7173 invoked by uid 99); 6 Sep 2012 00:46:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2012 00:46:08 +0000 Date: Thu, 6 Sep 2012 11:46:08 +1100 (NCT) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Message-ID: <1704874118.42361.1346892368566.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (SOLR-3795) /admin/luke?show=schema is returning raw toString of SchemaField and CopyField objects for "copyDests" and "copySources" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Hoss Man created SOLR-3795: ------------------------------ Summary: /admin/luke?show=schema is returning raw toString of SchemaField and CopyField objects for "copyDests" and "copySources" Key: SOLR-3795 URL: https://issues.apache.org/jira/browse/SOLR-3795 Project: Solr Issue Type: Bug Reporter: Hoss Man While looking into SOLR-3734 i noticed that the LukeRequestHandler is blindly putting arrays of CopyField and SchemaField objects in the response, when returning copy from/to info, which are then getting written out using their toString. steffkes seems to have done a great job of parsing the field name out of the SchemaField.toString, but the CopyField.toString info is useless -- and clients shouldn't have to do special string parsing to pull out this info. I think we should just fix both of these arrays to just be the simple string values that they were most likely intended to be -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org