If the ValueComposite is part of a Entity, then it seems that the
Property instances are correctly handled. But I am using
ValueComposites for 'cloud events', i.e. notifications across nodes,
because of the JSon serialization feature. I have defused the problem
at work by exposing more property<> in the public interface and
removed the use of hidden/private property<> methods, so I guess it is
no longer urgent.

Will create some test cases at the end of the week to showcase the problem.


Cheers

On Mon, Mar 21, 2011 at 10:36 AM, Rickard Öberg <[email protected]> wrote:
> On 3/20/11 7:50 PM, Niclas Hedhman wrote:
>>
>> It seems that toJSON() doesn't work for an internal mixin of a value.
>>
>> This is critical to my app, and would need this to go into v1.3... Not
>> sure how I will manage to fix it though, as it looks like a
>> non-trivial fix, and sounds dangerous for the whole EntityState
>> system.
>
> Are you talking about Property<> not being serialized? That would definitely
> be a bug, for values and entities.
>
> /Rickard
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>



-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/24svnvk
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to