Skip to content

Error during overwriting of an existing module #4784

@Chr1stianLoeffler

Description

@Chr1stianLoeffler

Bug Report

I am using the latest standalone version CSET v12.4.0.3. When I want to modify an existing assessment using the "Import Module" function, a complete new Module is generated. And if I accidentally try to import a module that already exists, a login screen appears. But now error or warning is displayed, that no changes could be applied to the file.

I suppose that an internal error occours, wich does not get handled correctly.

To Reproduce

Steps to reproduce the behavior:

  • Get the standalone Version CSET v12.4.0.3
  • Open "Import Module" Tool
  • Load the JSON of a module to the editor
  1. Import a slightly different module (e.g. change the weight of a requirement)
  • now a second module should be present
  1. Import the same JSON File, with no changes
  • The login screen should occour. (see below)

Expected behavior

  1. The module should be overwritten with the changes made to the existing module.
  2. An error message should appear, that indicates that the file already exists.

Any helpful log output

Screen that occours:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions