inception icon indicating copy to clipboard operation
inception copied to clipboard

Delete an item in KB, but it still exists in export kb file

Open SouthWindShiB opened this issue 3 years ago • 2 comments

Describe the bug

Delete an item in KB, but it still exists in export kb file

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'your project knowledge base page'
  2. Click on 'delete an instance and confirm'
  3. The instance got deleted in this page.
  4. Search this item in here image
  5. It still can be seen in search result, althougth it show an error tip like this. image
  6. 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.

SouthWindShiB avatar Dec 03 '21 03:12 SouthWindShiB

Interesting, thanks for the report!

reckart avatar Dec 03 '21 09:12 reckart

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...

reckart avatar Dec 11 '21 08:12 reckart

I'm having trouble replicating this issue. Has it been resolved?

bonnedahl avatar Nov 03 '22 14:11 bonnedahl

Not that I am aware of.

reckart avatar Nov 03 '22 14:11 reckart