[PR #1052] [MERGED] fix: handle AttributeError for datasets and index #22858

Closed
opened 2026-02-21 20:19:54 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/1052
Author: @yezhwi
Created: 8/29/2023
Status: Merged
Merged: 8/29/2023
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (2)

  • ee9a163 🐞 fix(datasets and index): (#1)
  • f880fa8 Merge branch 'langgenius:main' into main

📊 Changes

2 files changed (+9 additions, -6 deletions)

View changed files

📝 api/controllers/console/datasets/datasets_document.py (+7 -5)
📝 api/core/indexing_runner.py (+2 -1)

📄 Description

Handle AttributeError when accessing properties of Python None objects


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify/pull/1052 **Author:** [@yezhwi](https://github.com/yezhwi) **Created:** 8/29/2023 **Status:** ✅ Merged **Merged:** 8/29/2023 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`ee9a163`](https://github.com/langgenius/dify/commit/ee9a16336b0201a2d7eb8e7501c4a4fea066c914) 🐞 fix(datasets and index): (#1) - [`f880fa8`](https://github.com/langgenius/dify/commit/f880fa841022eac065889c3304d9e270f3f31fe2) Merge branch 'langgenius:main' into main ### 📊 Changes **2 files changed** (+9 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `api/controllers/console/datasets/datasets_document.py` (+7 -5) 📝 `api/core/indexing_runner.py` (+2 -1) </details> ### 📄 Description Handle AttributeError when accessing properties of Python None objects --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-21 20:19:54 -05:00
yindo closed this issue 2026-02-21 20:19:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22858