[ http://jira.nuxeo.org/browse/NXP-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bogdan Stefanescu resolved NXP-1994. ------------------------------------ Resolution: Fixed fixed (in trunk) > [REGRESSION] New property model makes list properties return null values > instead of empty list > ---------------------------------------------------------------------------------------------- > > Key: NXP-1994 > URL: http://jira.nuxeo.org/browse/NXP-1994 > Project: Nuxeo Enterprise Platform 5 > Issue Type: Bug > Components: Core > Reporter: Olivier Grisel > Assignee: Bogdan Stefanescu > Priority: Blocker > Fix For: 5.1.3, 5.2 M1 > > Original Estimate: 2 hours > Remaining Estimate: 2 hours > > The new following test won't pass in TestModel.testScalarList() : > ArrayList<String> emptyList = arrayList(); > dp.get("references").init(emptyList); > prop = dp.get("references"); > prop.setValue(emptyList); > assertEquals(emptyList, prop.getValue(List.class)); > assertEquals(emptyList, prop.getValue()); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nuxeo.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ ECM-tickets mailing list ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets