dify - ✅(Solved) Fix get_account_by_email_with_case_fallback lead account detach instance error [1 pull requests, 1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
langgenius/dify#34902Fetched 2026-04-11 06:31:59
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
1
Author
Assignees
Timeline (top)
cross-referenced ×2assigned ×1closed ×1commented ×1

Error Message

no error

Fix Action

Fixed

PR fix notes

PR #34904: fix: fix orm_exc.DetachedInstanceError

Description (problem / solution / changelog)

[!IMPORTANT]

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

fix #34902

Screenshots

BeforeAfter
......

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran make lint and make type-check (backend) and cd web && pnpm exec vp staged (frontend) to appease the lint gods

Changed files

  • api/commands/account.py (modified, +34/-33)
  • api/controllers/console/auth/email_register.py (modified, +11/-15)
  • api/controllers/console/auth/forgot_password.py (modified, +9/-10)
  • api/controllers/console/auth/oauth.py (modified, +1/-3)
  • api/controllers/console/workspace/account.py (modified, +1/-3)
  • api/controllers/web/forgot_password.py (modified, +8/-10)
  • api/services/account_service.py (modified, +9/-9)
  • api/tests/test_containers_integration_tests/controllers/console/auth/test_email_register.py (modified, +4/-1)
  • api/tests/test_containers_integration_tests/controllers/console/auth/test_forgot_password.py (modified, +7/-1)
  • api/tests/test_containers_integration_tests/controllers/console/auth/test_oauth.py (modified, +4/-1)
  • api/tests/test_containers_integration_tests/controllers/console/auth/test_password_reset.py (modified, +3/-0)
  • api/tests/test_containers_integration_tests/controllers/web/test_web_forgot_password.py (modified, +36/-45)
  • api/tests/test_containers_integration_tests/services/test_webapp_auth_service.py (modified, +6/-8)
  • api/tests/unit_tests/controllers/console/test_workspace_account.py (modified, +9/-4)
  • api/tests/unit_tests/services/test_account_service.py (modified, +3/-27)
RAW_BUFFERClick to expand / collapse

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.13.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. forget password
  2. call failed

Image

✔️ Expected Behavior

no error

❌ Actual Behavior

Image

extent analysis

TL;DR

The issue with the "forget password" functionality in Dify version 1.13.3, self-hosted via Docker, may be resolved by checking the Docker container logs for specific error messages related to the password reset process.

Guidance

  • Review the Docker container logs to identify any error messages that occur when attempting to reset the password, as these may indicate the root cause of the issue.
  • Verify that the Docker environment and Dify configuration are correctly set up to handle password reset requests.
  • Check the network connectivity and firewall settings to ensure that the Docker container can communicate with any external services required for the password reset process.
  • Consider testing the password reset functionality in a different environment or with a different user account to isolate the issue.

Example

No specific code snippet can be provided without more detailed information about the Dify configuration and Docker setup.

Notes

The provided information does not include specific error messages or detailed configuration settings, which are necessary to provide a more targeted solution. Further investigation of the Docker container logs and Dify configuration is required to determine the root cause of the issue.

Recommendation

Apply workaround: Check the Docker container logs and Dify configuration to identify and potentially resolve the issue, as the current information does not imply a straightforward fix or an available upgrade to a fixed version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING