Skip to content

HealthCheck is not able to handle a conflict between old and new template configurations #1532

@jan-vcapgemini

Description

@jan-vcapgemini

Expected behavior

As a CobiGen HealthCheck user, I want the HealthCheck to detect a conflict between my configurations so that I know how to proceed.

Actual behavior

HealthCheck dialog opens and provides an Upgrade and an Abort option.
HealthCheck runs into an infinite loop if the user wants to upgrade the configuration or throws a NullPointerException if the user clicks on abort.

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Place a valid context.xml into the root of the templates project and another one into the src/main/templates folder
  2. Run HealthCheck
  3. Click on Upgrade Configuration or Abort

Comments/Hints:

Can be easily fixed with a new Exception type (extended from InvalidConfigurationException)

Affected version:

  • 2021.12.007-SNAPSHOT

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions