Skip to content

[Bug]: Doc Metdata no longer working in UI or API in nightlies #13731

@metalshanked

Description

@metalshanked

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

latest

RAGFlow image version

nightly

Other environment information

Actual behavior

There is no longer any "add metadata" button in the Files page for a dataset.
As a result, there is no way to manually add custom metadata to dataset/documents

also, the API below does not work (using author : alice example from official doc)

NOTE: This works fine in v0.24.0. The issue started after that in the nightlies...

POST ... /metadata/update
{
    "code": 100,
    "data": null,
    "message": "UnboundLocalError(\"cannot access local variable 'target_doc_ids' where it is not associated with a value\")"
}

Expected behavior

No response

Steps to reproduce

1. Upload a file 
2. Click the metadata column
3. No Add button anymore in the metadata modal box

Additional information

No response

Metadata

Metadata

Assignees

Labels

🐞 bugSomething isn't working, pull request that fix bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions