Idea

Jon Abbott avatar image
3 Likes"
Jon Abbott suggested Jon Abbott commented

Bug: Renaming a user command via right-click menu replaces code with new name

FlexSim versions 7.7 through 17.1.2 have a bug where renaming a user command via the right-click menu replaces the code of the user command with the name being used for renaming. Here are the steps to reproduce it:

  • Open FlexSim
  • Create a new model
  • Create a new user command
  • Click on the code editor icon for the user command
  • Add some code, such as "int test = 1;"
  • Click "OK" to close the code editor window
  • Click "Close" to close the user command properties window
  • In the Toolbox, right-click on the user command and select "Rename"
  • Give the user command a different name, such as "renamed_command" and press Enter
  • In the Toolbox, right-click on the user command and select "Edit code"
  • Note how the "int test = 1;" code has been replaced with the new name

I am emailing this to [email protected] as well, but wanted to share it here so that other users are aware of the issue and are able to avoid it until the bug is corrected. A good workaround is to open the properties window for a user command and rename it through there instead.

bugbug reportuser commands
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 Comment

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie commented

I've fixed this for the next bug 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.

Jon Abbott avatar image Jon Abbott commented ·

Awesome, thanks for the fast turnaround @Matthew Gillespie!

0 Likes 0 ·

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.