incubator-chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <fmuel...@opentext.com>
Subject RE: PersistentObjectFactoryImpl.convertProperties
Date Wed, 12 May 2010 09:09:46 GMT
I'm looking into it.

Florian

-----Original Message-----
From: David Caruana [mailto:david.caruana@alfresco.com] 
Sent: Mittwoch, 12. Mai 2010 10:48
To: chemistry-dev
Subject: PersistentObjectFactoryImpl.convertProperties

I'm writing a checkout/checkin test via OpenCMIS and potentially hitting an issue.

I think it's valid to invoke Document.checkIn with null properties, however, PersistentObjectFactoryImpl.convertProperties
is throwing an exception due to null properties. If I look at other convert methods in this
class, they cater for null.

So, it's not clear if convertProperties should return null or throw an exception when passed
null.

Regards,
Dave


Mime
View raw message