这是indexloc提供的服务,不要输入任何密码
Skip to content

PDF Title Property Reflects Original TXT File Path Instead of Descriptive Title[BUG]:  #837

@kijukusanagi

Description

@kijukusanagi

How are you running AnythingLLM?

Docker (local)

What happened?

I expected the file to be the same name as I gave it on my computer. The Title property of the PDF should be set to a descriptive title related to the document's content or the name of the original file, without the path.

Actual Behavior:
The Title property is set to the full path of the original .txt file, including drive and folders (e.g., D:\dist\text\1016_rer.txt).

Happy to explain further if needed but wanted to keep this as concise as possible.

Are there known steps to reproduce?

I'm pulling PDFs from a government website, and for whatever reason it's only with how their file properties are set up that creates this scenario.

  • Convert a .txt file to PDF using [the software the site I pulled the PDF from used was Acrobat Distiller 23.0 (Windows)].
  • Check the properties of the resulting PDF.
  • Notice that the Title property reflects the original .txt file path instead of a meaningful title.

Here's the file properties:
File name: 2024a_1016_rer.pdf
File size: 144 KB
Title: D:\dist\text\1016_rer.txt ( I renamed this to 2024-SB 151, but it reverts back to this original title given.)
Author: Domino_Admin
Subject: -
Keywords: -
Created: 2/23/24, 9:47:49 AM
Modified: 2/23/24, 9:47:49 AM
Application: PScript5.dll Version 5.2.2
PDF producer: Acrobat Distiller 23.0 (Windows)
PDF version: 1.7
Page count: 3
Page size: 8.50 × 11.00 in (portrait)
Fast web view: Yes

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions