SAP Knowledge Base Article - Public

2701353 - What is Intermixing Data Types , How it is prevented in latest LMS ODATA API.

Symptom

Intermixing Data Types , How it is prevented in latest LMS ODATA API with Olingo 4.2.0.

Environment

SuccessFactors Learning , Learning Managment System.

Resolution

In Q4 2016, we update the Olingo library from 4.0.0 to 4.2.0 and Intermixing Data Types now Prevented.

Olingo 4.0.0 had a bug that allowed you to intermix data types. In Q4 2016 and later, if you intermix data types, your call will error. In the example below, maxPageSize is a string. The first call fails and the second works.

Sample Codes :

.../financialtransactions/v1/FinancialTransactions?$filter=criteria/maxPageSize eq 1
.../financialtransactions/v1/FinancialTransactions?$filter=criteria/maxPageSize eq ‘1’

 

 

Keywords

Intermixing Data Types , Olingo library , Olingo library 4.2.0 , KBA , LOD-SF-LMS , SuccessFactors Learning , Problem

Product

SAP SuccessFactors Learning all versions