question

Mischa Spelt avatar image
0 Likes"
Mischa Spelt asked Mischa Spelt commented

Static label incorrect when pushing array

@Patrick Zweekhorst found a bug when pushing an array of tokens to a list with a non-dynamic label field.

In the attached model, we create 6 tokens with an "index" label of 1 to 6 and push them on a list. The list has a non-dynamic label field to show the index.

The activity block on the right pulls all 6 tokens into an array, and then pushes the whole array back on the list. The labels on the tokens are still correct, as you can see by clicking the green dot on the list and inspecting the values, but the value of the list field is set to the label value of the first token for all tokens.

Discovered in 16.2.2, but still seems to be present in the latest 2017 beta.

FlexSim 17.0.0
bug reportarraypush to listlabel field
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matt Long avatar image
1 Like"
Matt Long answered Mischa Spelt commented

Thanks. Looks like this is a bug from 16.0 and on. It's been fixed and will be included in the next release.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Mischa Spelt avatar image Mischa Spelt commented ·

Thanks Matt!

0 Likes 0 ·