Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • V vadere
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 118
    • Issues 118
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • vadere
  • vadere
  • Merge requests
  • !190

Merged
Created Apr 15, 2022 by Christina Maria Mayr@christina-maria-mayrMaintainer

[Scenario-Reader] Force same behavior for reading vadere projects and single scenario files

  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

Current behavior

The static methods in IOVadere are used to read in Vadere projects and the scenario files they contain.

1 vadere project

If a Vadere project is opened in the Vadere gui, the scenario files are migrated for the first time in the IOVadere class. This ensures that the read jsons can be deseralized. In a second step, the scenario files are actually migrated.

2 single scenario file

If Vadere is controlled via Traci, only one scenario file has to be read in. During the read-in itself, no migration is performed, which may cause the deseralization to fail. If deserealization is possible, the actual migration takes place in step two.

Problem

Due to the missing migration in 2, the deserialization can fail.

Goal

same behavior for 1 and 2

Procedure

I added the migration to 1

Edited Apr 15, 2022 by Christina Maria Mayr
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix_migration_io