[
https://issues.apache.org/jira/browse/USERGRID-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14712214#comment-14712214
]
Michael Russo edited comment on USERGRID-937 at 8/26/15 12:01 AM:
------------------------------------------------------------------
This is fixed. Entities with nested arrays can be persisted, however we do not
allow querying against nested arrays. This means you can put in the following
as an example:
{code}
{
"name" : "entity1",
"nestedArray" : [[ "value1" ]]
}
{code}
When reading back 'entity1', you'll see everything properly, but cannot query
for 'value1'. Querying on other properties is untouched and works as-is.
was (Author: mrusso):
This is fixed. Entities with nested arrays can be persisted, however we do not
allow querying against nested arrays. This means you can put in the following
as an example:
{code}
{
"name" : "entity1",
"nestedArray" : [[ "value1 ]]
}
{code}
When reading back 'entity1', you'll see everything properly, but cannot query
for 'value1'. Querying on other properties is untouched and works as-is.
> Nested Arrays in documents result in infinite loop / stack overflow
> -------------------------------------------------------------------
>
> Key: USERGRID-937
> URL: https://issues.apache.org/jira/browse/USERGRID-937
> Project: Usergrid
> Issue Type: Story
> Reporter: Jeffrey
> Assignee: Michael Russo
>
> Need to investigate and decide on an approach. In addition, do we support
> arrays with elements of varying types?
> at
> org.apache.usergrid.persistence.model.entity.MapToEntityConverter.processListForField(MapToEntityConverter.java:148)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)