Tagged resource: invalid down cast

Tagged resource: invalid down cast

clair_augsburgerZGWRZ
Collaborator Collaborator
22 Views
6 Replies
Message 1 of 7

Tagged resource: invalid down cast

clair_augsburgerZGWRZ
Collaborator
Collaborator

[ FlexSim 23.0.9 ]

In the Tagged Resource pickoption, the Team parameter can be used to reference a dispatcher:

1689927475608.png

However this throws an exception:

FlexScript exception: Invalid down cast. Object is not an instance of the target type. at MODEL:/Queue1>variables/transportdispatcher

See attached example: Tagged resource invalid down cast.fsm.

Under the hood, the code uses the TaskExecuter class, but the dispatcher is not an instance of that class.

Could you please fix that bug ?

0 Likes
Accepted solutions (1)
23 Views
6 Replies
Replies (6)
Message 2 of 7

julie_weller
Not applicable
Accepted solution

I've been able to duplicate it in every version of Flexsim I've tried! I'll send it to dev as a bug

0 Likes
Message 3 of 7

clair_augsburgerZGWRZ
Collaborator
Collaborator
Thanks @Julie Weller. My colleague @Allister Wilson already reported the same bug by email to dev@flexsim.com in May 2021. @Jordan Johnson could you please increase the priority of fixing this bug ?
0 Likes
Message 4 of 7

JordanLJohnson
Autodesk
Autodesk

Will do!

.


Jordan Johnson
Principal Software Engineer
>

0 Likes
Message 5 of 7

clair_augsburgerZGWRZ
Collaborator
Collaborator
@Jordan Johnson when is this bug going to be fixed ?

Once again a user reported to me yesterday that he tried to use the Tagged Resource pickoption but it still throws the same exception as reported by Allister in May 2021 to dev@flexsim.com, and as reported once again in the post above in July 2023.

I tried in 24.0.2 and even in 24.1.0 beta released yesterday, it still throws the same exception.

0 Likes
Message 6 of 7

JordanLJohnson
Autodesk
Autodesk
I have increased the priority of this card once again.
.


Jordan Johnson
Principal Software Engineer
>

0 Likes
Message 7 of 7

jonah_kendellR47TC
Autodesk
Autodesk

@Clair A This has been fixed in FlexSim 23.0.15 released today.