Stephan Klevenz created OLINGO-255:
--------------------------------------

             Summary: Client can't parse expanded inline nav prop which is null
                 Key: OLINGO-255
                 URL: https://issues.apache.org/jira/browse/OLINGO-255
             Project: Olingo
          Issue Type: Bug
          Components: odata4-client
            Reporter: Stephan Klevenz


De-Serialization fails for: ne_Rooms : null

{
        "d" : {
                "__metadata" : {
                        "id" : 
"http://localhost:8080/ReferenceScenario.svc/Employees('1')",
                        "uri" : 
"http://localhost:8080/ReferenceScenario.svc/Employees('1')",
                        "type" : "RefScenario.Employee",
                        "content_type" : "image/jpeg",
                        "media_src" : "Employees('1')/$value",
                        "edit_media" : 
"http://localhost:8080/ReferenceScenario.svc/Employees('1')/$value"
                },
                "EmployeeId" : "1",
                "EmployeeName" : "Walter Winter",
                "ManagerId" : "1",
                "RoomId" : "1",
                "TeamId" : "1",
                "Location" : {
                        "__metadata" : {
                                "type" : "RefScenario.c_Location"
                        },
                        "City" : {
                                "__metadata" : {
                                        "type" : "RefScenario.c_City"
                                },
                                "PostalCode" : "69124",
                                "CityName" : "Heidelberg"
                        },
                        "Country" : "Germany"
                },
                "Age" : 52,
                "EntryDate" : "\/Date(915148800000)\/",
                "ImageUrl" : "Employees('1')/$value",
                "ne_Manager" : {
                        "__deferred" : {
                                "uri" : 
"http://localhost:8080/ReferenceScenario.svc/Employees('1')/ne_Manager"
                        }
                },
                "ne_Team" : {
                        "__deferred" : {
                                "uri" : 
"http://localhost:8080/ReferenceScenario.svc/Employees('1')/ne_Team"
                        }
                },
                "ne_Room" : null
        }
}




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to