olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OLINGO-1252) MetaDataParser will stack overflow when parsing circle references recursively
Date Thu, 05 Apr 2018 17:44:00 GMT

     [ https://issues.apache.org/jira/browse/OLINGO-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ramesh Reddy resolved OLINGO-1252.
----------------------------------
       Resolution: Fixed
    Fix Version/s: (Java) V4 4.5.0

Thank you [~rogerc] for the patch. 

> MetaDataParser will stack overflow when parsing circle references recursively 
> ------------------------------------------------------------------------------
>
>                 Key: OLINGO-1252
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1252
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.4.0
>            Reporter: Roger Che
>            Priority: Blocker
>             Fix For: (Java) V4 4.5.0
>
>         Attachments: 0001-OLINGO-1252-Enable-MetaDataParser-to-recursively-par.patch,
image-2018-03-26-10-55-57-818.png
>
>
> It is a follow up of https://issues.apache.org/jira/browse/OLINGO-861. The fix introduce
the recursively resolving of SchemaBasedEdmProvider. But it will have stack overflow when
schema are referencing in circle.
> It is easy to reproduce, just update the test case 
> org.apache.olingo.server.core.MetadataParserTest#testReferenceLoad
> and change 
> parser.recursivelyLoadReferences(false);
> to 
> parser.recursivelyLoadReferences(true);
> and run it.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message