[ https://issues.apache.org/jira/browse/OLINGO-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16413267#comment-16413267 ]
roger commented on OLINGO-1252: ------------------------------- Thanks for your reply. Do you mean the OData spec? Could you please give me more hint on this. Maybe i can find the answer myself. Where can i get the spec? Which part of the spec talks about schema reference? Thanks. > 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 > Priority: Blocker > > 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)