[jira] [Resolved] (OLINGO-1033) V4: @odata.type annotation incorrect for primitive types
[ https://issues.apache.org/jira/browse/OLINGO-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Amend resolved OLINGO-1033. - Resolution: Fixed Fixed with commit: https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=5255c336ebde38493337bd6761b49a80654a3289 > V4: @odata.type annotation incorrect for primitive types > > > Key: OLINGO-1033 > URL: https://issues.apache.org/jira/browse/OLINGO-1033 > Project: Olingo > Issue Type: Bug > Components: odata4-client, odata4-server >Affects Versions: (Java) V4 4.2.0, (Java) V4 4.3.0 >Reporter: Christian Amend >Assignee: Christian Amend > Fix For: (Java) V4 4.4.0 > > > The @odata.type annotation is incorrecty serialized for primitive types. the > current behavior has this output: ...@odata.type":"Int32" but should look > like this: ...@odata.type":"#Int32" > Here the specfication part: > 4.5.3 Annotation odata.type > The odata.type annotation specifies the type of a JSON object or name/value > pair. Its value is a URI that identifies the type of the property or object. > For built-in primitive types the value is the unqualified name of the > primitive type, specified as a URI fragment. > Example: > { > "@odata.context": "http://host/service/$metadata#Customers/$entity";, > "@odata.type": "#Model.VipCustomer", > "ID": 2, > "DynamicLimit": "INF", > "dynamicli...@odata.type": "#Double", > ... > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (OLINGO-1033) V4: @odata.type annotation incorrect for primitive types
[ https://issues.apache.org/jira/browse/OLINGO-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Amend reassigned OLINGO-1033: --- Assignee: Christian Amend > V4: @odata.type annotation incorrect for primitive types > > > Key: OLINGO-1033 > URL: https://issues.apache.org/jira/browse/OLINGO-1033 > Project: Olingo > Issue Type: Bug > Components: odata4-client, odata4-server >Affects Versions: (Java) V4 4.2.0, (Java) V4 4.3.0 >Reporter: Christian Amend >Assignee: Christian Amend > Fix For: (Java) V4 4.4.0 > > > The @odata.type annotation is incorrecty serialized for primitive types. the > current behavior has this output: ...@odata.type":"Int32" but should look > like this: ...@odata.type":"#Int32" > Here the specfication part: > 4.5.3 Annotation odata.type > The odata.type annotation specifies the type of a JSON object or name/value > pair. Its value is a URI that identifies the type of the property or object. > For built-in primitive types the value is the unqualified name of the > primitive type, specified as a URI fragment. > Example: > { > "@odata.context": "http://host/service/$metadata#Customers/$entity";, > "@odata.type": "#Model.VipCustomer", > "ID": 2, > "DynamicLimit": "INF", > "dynamicli...@odata.type": "#Double", > ... > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OLINGO-1036) V4: DefaultDebugSupport enhancement
[ https://issues.apache.org/jira/browse/OLINGO-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Amend closed OLINGO-1036. --- Resolution: Won't Fix Fix Version/s: (was: (Java) V4 4.4.0) The description of the class explicitly states that if registered a debug output will always be given. So this issue is obsolete. > V4: DefaultDebugSupport enhancement > --- > > Key: OLINGO-1036 > URL: https://issues.apache.org/jira/browse/OLINGO-1036 > Project: Olingo > Issue Type: Bug > Components: odata4-server >Affects Versions: (Java) V4 4.3.0 >Reporter: Christian Amend >Assignee: Christian Amend > > Currently the DefaultDebugSupport returns true for every user by default if > checking when a user is authorized to see the debug support. This should be > set to false. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OLINGO-1036) V4: DefaultDebugSupport enhancement
Christian Amend created OLINGO-1036: --- Summary: V4: DefaultDebugSupport enhancement Key: OLINGO-1036 URL: https://issues.apache.org/jira/browse/OLINGO-1036 Project: Olingo Issue Type: Bug Components: odata4-server Affects Versions: (Java) V4 4.3.0 Reporter: Christian Amend Assignee: Christian Amend Fix For: (Java) V4 4.4.0 Currently the DefaultDebugSupport returns true for every user by default if checking when a user is authorized to see the debug support. This should be set to false. -- This message was sent by Atlassian JIRA (v6.3.4#6332)