Error "t.clone" with lists after upgrade to platform server 10.0.603.0

Error "t.clone" with lists after upgrade to platform server 10.0.603.0

  

Hi,

I have a list of months containing two attributes: Id (Integer) and Month (Text). I populate the list with pairs of data, for example 1/"January". After the upgrade the action to return the list returns an error: "t.clone is not a function".

I believe that the reason of this problem is the breaking change #2 reported:

Issue: In Lists of basic types (e.g. List of Date, List of Text), the value of List.Current for a new empty List is now the OutSystems default value of the corresponding basic type, instead of C# or Java default value. If you are using the value of List.Current for a new empty List in your logic, you might hit an unexpected behavior.

Stack: .NET, Java

Rationale: Behavior was incorrect.

Workaround: Analyze the code where you are using the value of List.Current for a new empty List of basic types and make the necessary corrections.

Does anyone know how to solve this?

Solution

Hi,

I found the reason of this issue. It's not caused by the described breaking chnage #2 but by
MultiLingual mobile component.

I am sorry for the confusion.

Regards,

Michal

Solution