Skip to content

ReleaseNotes_0_3_13

Helmut Tammen edited this page Jul 11, 2016 · 1 revision

Release Notes for n-odata-server

Version 0.3.13

Generated on 2016-7-11

Items included in this release

Problem with belongsTo relationship

0.3.13

BelongsTo relationship in some cases ran into an error. Fixed

HasOne relationship doesn't work

0.3.13

Fixed. HasOne relationships leads to a timeout error when requesting data of this relationship. Example: Imagine a product that has exactly one productDetail object connected to it via a hasOne relationship

{
  "name": "Product",
  "plural": "Products",
  "base": "PersistedModel",
...
  "relations": {
    "ProductDetails": {
      "type": "hasOne",
      "model": "ProductDetail",
      "foreignKey": "productId"
    }
  },
}

The following request did not work

http://0.0.0.0:3000/odata/Products(4)/ProductDetails

The problem is fixed now. Since release 0.3.10 in which some restructuring has happened this was not implemented anymore. Reimplemented it

Adjusting for Edm.Int32 key components

0.3.13

When you try to use a entity with an ID as Edm.Int32 with key, it was generating like /EntityCollection('n') instead /EntityCollection(n).

This behavior breaks SAPUI5 command: this.getView().getElementBinding().getPath().

This fixes this situation.

Create Getting Started tutorial

0.3.13

Getting started Tutorial is available in wiki now.