commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <oliver.he...@oliver-heger.de>
Subject Re: [Commons Configuration] using setProperty for <data> element on XML plist
Date Thu, 19 Apr 2007 20:00:54 GMT
Emmanuel Bourg wrote:
> Oliver Heger a écrit :
> 
>> I haven't used XMLPropertyListConfiguration myself. But from a short 
>> glance at the code I fear that there could be a bug related to the 
>> handling of arrays. What exactly is the result when you call 
>> setProperty() with the modified byte[]?
> 
> I commited a fix for this bug, it affected both plist configurations.
> 
> Oliver could you review my change please ? I'm not familiar with the new 
> event notification stuff, I don't know if the right events are fired 
> with this fix.
> 
> Emmanuel Bourg
> 
Okay, I will have a look and write test cases for the events. From a 
first glance it seems that CLEAR_PROPERTY and AND_PROPERTY events are 
thrown instead of a SET_PROPERTY event.

I haven't looked into this issue in detail, but wouldn't the 
addProperty() methods be affected, too?

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message