Skip to content

[BUG] Deleting service removes shared-prefix service files #1150

Description

@matKlju

Bug description:

  1. Create/ Import services named EESTI_EE_huvitised_ja_toetused and EESTI_EE_huvitised_ja_toetused_KKK.
  2. Delete EESTI_EE_huvitised_ja_toetused.
  3. Attempt to delete EESTI_EE_huvitised_ja_toetused_KKK from the UI.

EESTI_EE_huvitised_ja_toetused_KKK remains visible in the overview listing, but its file has already been deleted in the background. Deleting it from the UI produces a file-not-found error. After page referesh listing is then removed from UI.

The file system observations confirm this.

Expected behavior:

Deleting a service deletes only its own file. Services with the same prefix remain intact and can be deleted normally.

Screenshots:

Additional information:
Services for testing:
EESTI_EE_huvitised_ja_toetused.json
EESTI_EE_huvitised_ja_toetused_KKK.json

This affects all services that share a common name prefix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv3.3

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions