You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by David Caruana <da...@alfresco.com> on 2010/05/12 10:48:18 UTC
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
RE: PersistentObjectFactoryImpl.convertProperties
Posted by Florian Müller <fm...@opentext.com>.
Should be fixed now. Please try again.
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
RE: PersistentObjectFactoryImpl.convertProperties
Posted by Florian Müller <fm...@opentext.com>.
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