This issue has been created
There are 4 updates.
 
 
LLM AI Integration / cid:jira-generated-image-avatar-7129dd52-d28f-4510-b8bd-af58905618d5 LLMAI-240 Closed

get_history lists no revisions for a document of another wiki

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-62cdc1dd-c634-4296-a5a2-817bb5e6eb48 Paul Pantiru created this issue on 20/Nov/26 16:02
 
Summary: get_history lists no revisions for a document of another wiki
Issue Type: cid:jira-generated-image-avatar-7129dd52-d28f-4510-b8bd-af58905618d5 Bug
Affects Versions: 0.10
Assignee: Unassigned
Created: 20/Nov/26 16:02
Priority: cid:jira-generated-image-static-major-a1ab686e-67f1-4dec-9287-07b99e8960a1 Major
Reporter: Paul Pantiru
Description:

Problem

On an MCP endpoint with cross-wiki reach, get_history called with the wiki parameter for a document of another wiki reports no revisions, although the document has a history:

get_history reference="Sandbox.CrossWikiReachTest" wiki="second"

Current version: 1.3
Total revisions: 0 (minor edits included, newest first)
No revisions at offset=0; this document has 0 revisions.

The same call on the endpoint of the wiki that holds the document lists its 3 revisions. Reading one version (version="1.1") or a diff (from="1.1") across wikis works; only the revision list is affected.

When the wiki of the endpoint has a document with the same reference, the total shown is the number of revisions of that other document, so the list is paged from a wrong total.

Cause

The revision count is read while the context wiki is the wiki of the endpoint. The versioning store of the platform runs the count in the database of the context wiki and identifies the document by an id that does not include the wiki, unlike the other history reads, which switch to the wiki of the document themselves.

Expected

The revision list of a document of another wiki shows the same revisions and the same total as on that wiki's own endpoint.

 
 

4 updates

 
cid:jira-generated-image-avatar-62cdc1dd-c634-4296-a5a2-817bb5e6eb48 Changes by Paul Pantiru on 20/Nov/26 16:02
 
Fix Version: 1.0.1
Assignee: Paul Pantiru
Resolution: Fixed
Status: Open Closed