MaxKB icon indicating copy to clipboard operation
MaxKB copied to clipboard

[Bug] The knowledge base is exported to excel format, but the title part of the document will become the value of the sheet page number

Open shimengqiao opened this issue 9 months ago • 6 comments

Contact Information

No response

MaxKB Version

v1.10.2

Problem Description

知识库导出为excel格式,但是文档的标题部分会变成sheet页码的值

Steps to Reproduce

Image

The expected correct result

No response

Related log output


Additional Information

No response

shimengqiao avatar Mar 17 '25 11:03 shimengqiao

你好,你的知识库文档中应该有文档名字叫 sheet4... 请确认一下。测试环境中导出知识库功能正常。

Shenguobin0102 avatar Mar 18 '25 01:03 Shenguobin0102

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Hello, there should be a document in your knowledge base document called sheet4... Please confirm. The export knowledge base function in the test environment is normal.

shaohuzhang1 avatar Mar 18 '25 01:03 shaohuzhang1

确认是没有该sheet页的,需要文档的数量多一些可以复现

shimengqiao avatar Mar 18 '25 09:03 shimengqiao

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Confirm that there is no sheet page, and the number of documents required is higher to reproduce.

shaohuzhang1 avatar Mar 18 '25 09:03 shaohuzhang1

能确认一下名称为sheet4这个sheet页中对应的文档的标题是什么吗?还有麻烦告知一下你的知识库有多少个文档。

Shenguobin0102 avatar Mar 19 '25 01:03 Shenguobin0102

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Can you confirm what the title of the corresponding document in the sheet page named sheet4 is? Please tell me how many documents you have in your knowledge base.

shaohuzhang1 avatar Mar 19 '25 01:03 shaohuzhang1

v1.10.3-lts修复了这个问题,文档名长度超过32的文档,在表格文件的sheet名会自动截断,保留29个字符,留3个字符长度应对截断后重复名称时,作为后缀标记。

Shenguobin0102 avatar Apr 03 '25 10:04 Shenguobin0102

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


v1.10.3-lts fixed this problem. When documents with document names with lengths of more than 32, the sheet name of the table file will be automatically truncated, retaining 29 characters and leaving 3 characters in length to be used as a suffix mark when the name is repeated after truncation.

shaohuzhang1 avatar Apr 03 '25 10:04 shaohuzhang1