Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA7264DAB for ; Tue, 17 May 2011 08:11:32 +0000 (UTC) Received: (qmail 33221 invoked by uid 500); 17 May 2011 08:11:32 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 33112 invoked by uid 500); 17 May 2011 08:11:30 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 33097 invoked by uid 99); 17 May 2011 08:11:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2011 08:11:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2011 08:11:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 55503CDA06 for ; Tue, 17 May 2011 08:10:47 +0000 (UTC) Date: Tue, 17 May 2011 08:10:47 +0000 (UTC) From: "Vassilis Virvilis (JIRA)" To: issues@cxf.apache.org Message-ID: <1261796475.18442.1305619847345.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CXF-3526) Aegis cannot handle nested map inheritance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Aegis cannot handle nested map inheritance ------------------------------------------ Key: CXF-3526 URL: https://issues.apache.org/jira/browse/CXF-3526 Project: CXF Issue Type: Bug Components: Aegis Databinding Affects Versions: 2.3.3 Environment: Debian GNU/Linux tomcat 6 Reporter: Vassilis Virvilis The following code fails when trying to retrieve data with the simple fronted public class ComplexMapResult extends HashMap> { } // fail returns null map value public ComplexMapResult testComplexMapResult(); How it fails. On retrieve when I try to print the resulting matrix I get INFO: client.TestClient.testComplexMapResult(TestClient.java:35): {key1=[#document: null]} where I should get a valid map for the key "key1" The following code succeeds // success public Map> testDirectComplexMapResult(); So my guess is Aegis doesn't handle the inheritance very well. Further more the following code succeeds // success public class SimpleMapResult extends HashMap { } // success public SimpleMapResult testSimpleMapResult(); so that means it handles the extension when there is no nesting I will try to attach the eclipse project for this (~7k) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira