Changing simulator in simulation model results in "undefined" simulator mapping
After changing the simulator of a simulation model via the simulation edit dialog, the simulation will always show "undefined" for the simulator.
A closer look to the database reveals that after changing the simulator, the name of the new simulator rather than its ID is stored in the simulations collection. The same is true for the node.
Before:
{
"mapping": [
{
"type": "Type",
"name": "Signal"
}
],
"length": "1",
"simulator": {
"simulator": 12,
"node": "59928cd3b623e200119aa699"
},
"name": "WSU"
}
After:
{
"mapping": [
{
"type": "Type",
"name": "Signal"
}
],
"length": "1",
"simulator": {
"simulator": "wsu-villas_ws",
"node": "inl-villas-web"
},
"name": "WSU"
}
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information