[OS 9.0.1.4] Strange behaviour found with REST web service - Record List data type

[OS 9.0.1.4] Strange behaviour found with REST web service - Record List data type

  
Upgraded from 9.0.1.1 to 9.0.1.4

After upgrading our REST (producer) web service broke! (no logic code was changed, only the outsystems platform was upgraded from 9.0.1.1 to 9.0.1.4)

The internal behaviour of outsystems "Record List" data type was changed without notice, outsystems was no longer able to deseralise json arrays, all records read by outsystems will be read as an empty value.

Under ServiceCenter, no error was flagged, however under "General" page, there was many messages "constructor of HeadFilter" module: FILTERDBG

In order for us to fix this issue we changed our original data type from "Record List" to the new "List data type and everything is now functioning as normal.



 
Hi Robert,

What do you mean without notice? You even replied on that topic that explained that change for the RC version on the beta foruns.
Robert Chanphakeo wrote:
Thanks, the decision made is suitable!
Also the general log message is unrelated and it's a non-issue, other than generating many logs.
You can ask support for a hotfix version of HttpRequestHandler for it or wait for the next version.

Regards,
João Rosado
João Rosado wrote:
Hi Robert,

What do you mean without notice? You even replied on that topic that explained that change for the RC version on the beta foruns.
Robert Chanphakeo wrote:
Thanks, the decision made is suitable!
Also the general log message is unrelated and it's a non-issue, other than generating many logs.
You can ask support for a hotfix version of HttpRequestHandler for it or wait for the next version.

Regards,
João Rosado
Joao

The changes indicated in the link above is related to "record" data type, that change is a breaking change from RC to release.

However the issue faced is not related to "record" data type but rather a behaviour change made in "Record List" data type.

To get our REST service to work we had to update from "Record List" data type to "List" data type - "Record List" no longer works in REST producer? will this be a permanent change?

EDIT: "As some of you already noticed in the REST, both in consume and expose, we are currently limiting the types to not allow Record and RecordList types directly on the REST objects.

This is my mistake the breaking change is for both Record and RecordList data types on REST objects! I looked at the example, and saw it applied to "record", dont know what was changed in recordlist, but it did say you will not allow for use of record and record list, and that was the plan all along, this breaking change broke in 9.0.1.4.
 
For anyone reading this thread - the issue reported in this thread only applies to structure attributes that has been setup to use the "Record List" data type.

If you have created a new eSpace after outsystems platform 9.0.0.36, you would not experience this issue because you would not be able to set any structure attributes with a "Record List" data type.

Outsystems removed "Record List" data type in 9.0.0.36 and it caused the issue with REST, as indicated above you can simply replace "Record List" with "List", this will solve your problem.