Skip to content

Unprecise Exception for wrong classification type configuration #2200

@gitgoodjhe

Description

@gitgoodjhe

Before TASKANA 6.0 the classification types were configured like this:

taskana.classification.types=TASK, DOCUMENT

With TASKANA 6.0 they are now correctly configured like this:

taskana.classification.types=TASK | DOCUMENT

However, when configuring them the "old" way, you get a rather unprecise and confusing exception:

pro.taskana.common.api.exceptions.InvalidArgumentException: Parameter classificationCategoriesByType (taskana.classification.categories.<KEY>) contains invalid Classification Types. configured: [TASK, DOCUMENT] detected: [TASK, DOCUMENT]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Released

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions