inception
inception copied to clipboard
Delete an item in KB, but it still exists in export kb file
Describe the bug
Delete an item in KB, but it still exists in export kb file
To Reproduce
Steps to reproduce the behavior:
- Go to 'your project knowledge base page'
- Click on 'delete an instance and confirm'
- The instance got deleted in this page.
- Search this item in here
- It still can be seen in search result, althougth it show an error tip like this.
- And when the KB gets exported as nt, ttl file, this item also can be found in files.
Expected behavior
Delete the item in KB and exported KB
Screenshots
No response
Environment
Version and build ID: 21.1 Operating system: e.g. Windows Browser: e.g. Chrome
Additional context
No response
Todo
- [ ] If the user deletes a class, then if there are any instances of that class. If yes, check for each instance if the class being removed is the only class. Collect all these instances and display a confirmation dialog to the user saying that all the instances are going to be deleted as well.
- [ ] Check if it is possible to even items which don't have any class anymore in the KB page - maybe by hiding the class panel and just loading them in the instance panel.
Interesting, thanks for the report!
Looks like this happens when deleting the class to which an instance belongs. If that happens, the instance is still in the KB and it is still found when searching for it on the KB page, but it cannot be opened there if there is no class left on it - because then INCEpTION can no longer determine that it is an instance...
I'm having trouble replicating this issue. Has it been resolved?
Not that I am aware of.