4.0.1: Cannot delete or modify things that are provisioned from file

Clearing cache did nothing (followed this, except openhab2 → openhab: Clear the Cache - #4 by binderth). I only configure via files, so things show the lock icon. I only have one default.things file.

EDIT: It seems to be loading the default.things file when I modify it, though.

2023-08-10 16:01:09.239 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.things'

2023-08-10 16:01:09.265 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'default.things', using it anyway:

Provide a thing type ID and a thing ID in this format:

 <thingTypeId> <thingId>

Provide a thing type ID and a thing ID in this format:

 <thingTypeId> <thingId>

==> /var/log/openhab/events.log <==

CONCLUSION: I can add things via file, but things are not removed from the system when they are removed from the things file. Constant repro. Seems like an issue with v4.

Added few things via file (Fercs2 and Fercs3), and removed them from the file - things remain in the system:

image