This issue has been created
There are 2 updates.
 
 
LLM AI Integration / cid:jira-generated-image-avatar-58f44888-5cc0-461a-92db-ed05a3e6ade4 LLMAI-237 Open

Deleting a collection that indexes wiki pages through the REST API fails with an error 500

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-084ca701-34e0-485b-b019-cf1ec24f2281 Paul Pantiru created this issue on 20/Nov/26 10:29
 
Summary: Deleting a collection that indexes wiki pages through the REST API fails with an error 500
Issue Type: cid:jira-generated-image-avatar-58f44888-5cc0-461a-92db-ed05a3e6ade4 Bug
Affects Versions: 0.5
Assignee: Unassigned
Created: 20/Nov/26 10:29
Priority: cid:jira-generated-image-static-major-bcad1543-b8fd-4d52-a5cb-45b5fd03653f Major
Reporter: Paul Pantiru
Description:

Problem

DELETE /rest/wikis/xwiki/aiLLM/collections/<name> answers 500 for a collection that indexes wiki pages, and the collection is not deleted. Collections whose documents were uploaded through the API are deleted correctly.

Steps to reproduce

  1. Create a collection that indexes the pages of a wiki space.
  2. Send DELETE /rest/wikis/xwiki/aiLLM/collections/<name>.

Result

The response is an error 500 and the collection still exists.

Expected

The collection and its chunks are removed. The wiki pages it indexed are left untouched.

Cause

Deleting a collection first deletes each of its documents. For a collection that indexes wiki pages the documents are the wiki pages themselves, which the collection must not delete, so that step is refused and the whole deletion fails.

 
 

2 updates

 
cid:jira-generated-image-avatar-084ca701-34e0-485b-b019-cf1ec24f2281 Changes by Paul Pantiru on 20/Nov/26 10:29
 
Fix Version: 1.0.1
Assignee: Paul Pantiru