Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 72702 invoked from network); 28 Sep 2008 03:24:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Sep 2008 03:24:06 -0000 Received: (qmail 78123 invoked by uid 500); 28 Sep 2008 03:24:03 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 78081 invoked by uid 500); 28 Sep 2008 03:24:03 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 78069 invoked by uid 99); 28 Sep 2008 03:24:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Sep 2008 20:24:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Sep 2008 03:23:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 67828234C212 for ; Sat, 27 Sep 2008 20:23:44 -0700 (PDT) Message-ID: <1921129457.1222572224423.JavaMail.jira@brutus> Date: Sat, 27 Sep 2008 20:23:44 -0700 (PDT) From: "Boni Gopalan (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1762) Improvement to MultiValueCollectionConverterImpl to Map collections with element class Object.class In-Reply-To: <1809152411.1222322264321.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Boni Gopalan updated JCR-1762: ------------------------------ Attachment: testresults.txt Test results for revision 699765 > Improvement to MultiValueCollectionConverterImpl to Map collections with element class Object.class > --------------------------------------------------------------------------------------------------- > > Key: JCR-1762 > URL: https://issues.apache.org/jira/browse/JCR-1762 > Project: Jackrabbit > Issue Type: Improvement > Components: jackrabbit-ocm > Affects Versions: 1.5 > Environment: Java 5 and Up > Reporter: Boni Gopalan > Assignee: Christophe Lombart > Priority: Minor > Attachments: JCR-1762-updated.patch, JCR-1762.patch, testresults.txt > > Original Estimate: 3h > Remaining Estimate: 3h > > Currently MultiValueCollectionConverterImpl does not support elements of type Object.class. The type of the contained class has to be specified either through the mapping file or through the Bean annotation. Even with that flexibility Object.class is specifically excluded (For good reasons.). > My view is that by definition MultiValueCollectionConverterImpl should make a best effort to convert and that best effort should include using Undefined UndefinedTypeConverterImpl to convert an object when all the other conversion strategies run out. To this resolve I have patched the OCM source. I have test cases also. I will upload the patch files right after. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.