Ramya created OLINGO-1246:
-----------------------------

             Summary: OData V4: Fixes for Context url when the URL has select 
clause and expand clause having select
                 Key: OLINGO-1246
                 URL: https://issues.apache.org/jira/browse/OLINGO-1246
             Project: Olingo
          Issue Type: Bug
    Affects Versions: (Java) V4 4.4.0
            Reporter: Ramya


If url is of the form 
EntitySetA?$select=NavPropertyToMany&$expand=NavPropertyToMany
then context url should be of the form 
#EntitySetA(NavPropertyToMany,NavPropertyToMany())

If url is of the form 
EntitySetA?$select=NavPropertyToMany&$expand=NavPropertyToMany($select=Property)
 then the context url should be of the form
#EntitySetA(NavPropertyToMany,NavPropertyToMany(Property))

If url is of the form 
EntitySetA?$expand=NavPropertyToOne1($expand=NavPropertyToOne2), then the 
context url should be 
#EntitySetA(NavPropertyToOne1(NavPropertyToOne2()))

If url is of the form 
EntitySetA?$expand=NavPropertyToOne,NavPropertyToMany($select=Property), then 
context url should be
#EntitySetA(NavPropertyToOne(),NavPropertyToMany(Property))





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

Reply via email to