chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Brackx <michael.javaone+c...@gmail.com>
Subject Re: secondary type property cardinality ignored
Date Tue, 20 Aug 2013 09:07:44 GMT
Hi,

I'm calling getObject.
There is no error stack trace.
The server returns "value":["value1"] iso the expected "value":"value1"
like for non-secondary type properties.
The java client is resilient to this, so it is more difficult to write a
test for.
The error occurs with another client.
I will provide some code to setup the conditions for the problem.

Michael


On Tue, Aug 20, 2013 at 10:37 AM, Florian Müller <fmui@apache.org> wrote:

> Hi Michael,
>
> Could you please provide some additional information?
> Which operation are you calling? Can you provide a stack trace?
>
> The JSON converter tries to get hold of the property definition. If that
> fails for some reason, it falls back to returning a list.
> It looks like there is an issue with the property definitions of secondary
> types.
>
>
> Florian
>
>
>
>  Hi,
>>
>> I have an issue with the browser binding getObject.
>> When getting an object with secondary type properties, their cardinality
>> is
>> ignored.
>> For properties on the primary type, the cardinality is checked, and the
>> value list is unpacked if SINGLE (JSONConverter line 1204).
>> Properties on a secondary type however, are always returned as json list
>> (JSONConverter line 1218).
>> Using latest 0.10.0-SNAPSHOT.
>>
>> Michael
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message