Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
VILLASweb
VILLASweb
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 4
    • Merge Requests 4
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ACS
    • P
      Public
  • VILLASframework
  • VILLASwebVILLASweb
  • Issues
  • #134

Closed
Open
Created Sep 25, 2017 by Steffen Vogel@stvogel🎅🏼Owner

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"
}
Edited Sep 25, 2017 by Steffen Vogel
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Release 1.0
Milestone
Release 1.0
Assign milestone
Time tracking
None
Due date
None