8000 fix: send_workflow_action_email by Nihantra-Patel · Pull Request #24929 · frappe/frappe · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: send_workflow_action_email #24929

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

Nihantra-Patel
Copy link
Member

Version 15:

Frappe Framework: v15.14.0 (version-15)
ERPNext: v15.14.2 (version-15)

fixes: https://discuss.frappe.io/t/workflow-email-next-state-not-being-sent/117262


  • When you enable "Send Email Alert" in the workflow, emails aren't being sent, and there's an error message saying "has_permission() got an unexpected keyword argument 'print_logs'."

  • and another Issue is likely with the users_data dictionary. When you iterate over it using for d in users_data:, d represents the key of each dictionary entry, which is a string (the user's name). So when you try to access d.get("email"), it's trying to treat the string d as a dictionary, which results in the error.

fix_email_worflow_action.mp4

Thank You!

@Nihantra-Patel Nihantra-Patel requested review from a team and surajshetty3416 and removed request for a team February 19, 2024 06:16
@ankush ankush added backport version-15-hotfix Backport the PR to v15 backport version-14-hotfix backport to version 14 labels Feb 19, 2024
@ankush ankush enabled auto-merge (squash) February 19, 2024 06:34
@ankush ankush merged commit 15eb1bf into frappe:develop Feb 19, 2024
mergify bot pushed a commit that referenced this pull request Feb 19, 2024
* fix: send_workflow_action_email

* fix: send_workflow_action_email

(cherry picked from commit 15eb1bf)
mergify bot pushed a commit that referenced this pull request Feb 19, 2024
* fix: send_workflow_action_email

* fix: send_workflow_action_email

(cherry picked from commit 15eb1bf)
ankush pushed a commit that referenced this pull request Feb 19, 2024
* fix: send_workflow_action_email

* fix: send_workflow_action_email

(cherry picked from commit 15eb1bf)

Co-authored-by: Nihantra C. Patel <141945075+Nihantra-Patel@users.noreply.github.com>
ankush pushed a commit that referenced this pull request Feb 19, 2024
* fix: send_workflow_action_email

* fix: send_workflow_action_email

(cherry picked from commit 15eb1bf)

Co-authored-by: Nihantra C. Patel <141945075+Nihantra-Patel@users.noreply.github.com>
@ankush
Copy link
Member
ankush commented Feb 19, 2024

@Mergifyio backport version-14 version-15

Copy link
Contributor
mergify bot commented Feb 19, 2024

backport version-14 version-15

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Feb 19, 2024
* fix: send_workflow_action_email

* fix: send_workflow_action_email

(cherry picked from commit 15eb1bf)
mergify bot pushed a commit that referenced this pull request Feb 19, 2024
* fix: send_workflow_action_email

* fix: send_workflow_action_email

(cherry picked from commit 15eb1bf)
ankush pushed a commit that referenced this pull request Feb 19, 2024
* fix: send_workflow_action_email

* fix: send_workflow_action_email

(cherry picked from commit 15eb1bf)

Co-authored-by: Nihantra C. Patel <141945075+Nihantra-Patel@users.noreply.github.com>
ankush pushed a commit that referenced this pull request Feb 19, 2024
* fix: send_workflow_action_email

* fix: send_workflow_action_email

(cherry picked from commit 15eb1bf)

Co-authored-by: Nihantra C. Patel <141945075+Nihantra-Patel@users.noreply.github.com>
frappe-pr-bot pushed a commit that referenced this pull request Feb 19, 2024
## [15.14.1](v15.14.0...v15.14.1) (2024-02-19)

### Bug Fixes

* send_workflow_action_email ([#24929](#24929)) ([#24940](#24940)) ([7381216](7381216))
frappe-pr-bot pushed a commit that referenced this pull request Feb 19, 2024
## [14.66.1](v14.66.0...v14.66.1) (2024-02-19)

### Bug Fixes

* send_workflow_action_email ([#24929](#24929)) ([#24939](#24939)) ([6c13a3b](6c13a3b))
frappe-pr-bot pushed a commit that referenced this pull request Feb 20, 2024
## [14.66.2](v14.66.1...v14.66.2) (2024-02-20)

### Bug Fixes

* **calendar:** Replace route in load_last_view ([#24894](#24894)) ([#24927](#24927)) ([fa184d6](fa184d6))
* ensure has_value_changed works for Datetime, Date and Time fields (backport [#24919](#24919)) ([#24921](#24921)) ([8087a7a](8087a7a))
* handle bad cron expressions (backport [#24938](#24938)) ([#24941](#24941)) ([4efcdb5](4efcdb5))
* ignore and gracefully handle img optimization failure ([b112333](b112333))
* invite contact as user ([136ac70](136ac70))
* keep order in `get_values_from_single` ([#24907](#24907)) ([#24923](#24923)) ([3347144](3347144))
* lower socket timeout for validating email domain ([#24915](#24915)) ([#24917](#24917)) ([427e681](427e681))
* **page:** Catch LocalStorage quota exception ([#24885](#24885)) ([#24930](#24930)) ([3a36f7d](3a36f7d))
* send_workflow_action_email ([#24929](#24929)) ([#24933](#24933)) ([5f29c83](5f29c83))
* set same cookie expiry on client side (backport [#24560](#24560)) ([#24567](#24567)) ([744b363](744b363))
* use communication date in timeline ([0632cb3](0632cb3))
* **weblist:** Fix "More" button not working ([#24893](#24893)) ([#24925](#24925)) ([1715638](1715638))
frappe-pr-bot pushed a commit that referenced this pull request Feb 20, 2024
# [15.15.0](v15.14.1...v15.15.0) (2024-02-20)

### Bug Fixes

* **calendar:** Replace route in load_last_view ([#24894](#24894)) ([#24928](#24928)) ([2557384](2557384))
* ensure has_value_changed works for Datetime, Date and Time fields (backport [#24919](#24919)) ([#24922](#24922)) ([87e7702](87e7702))
* handle bad cron expressions (backport [#24938](#24938)) ([#24942](#24942)) ([18512d6](18512d6))
* invite contact as user ([4e308e4](4e308e4))
* keep order in `get_values_from_single` ([#24907](#24907)) ([#24924](#24924)) ([d8f663b](d8f663b))
* lower socket timeout for validating email domain ([#24915](#24915)) ([#24918](#24918)) ([796c7c0](796c7c0))
* **page:** Catch LocalStorage quota exception ([#24885](#24885)) ([#24931](#24931)) ([cb3a435](cb3a435))
* send_workflow_action_email ([#24929](#24929)) ([#24934](#24934)) ([7e9eec0](7e9eec0))
* use communication date in timeline ([8bebcb6](8bebcb6))
* **weblist:** Fix "More" button not working ([#24893](#24893)) ([#24926](#24926)) ([4732928](4732928))

### Features

* pass doctype as context when translating label (backport [#24903](#24903)) ([#24916](#24916)) ([6cdc0a7](6cdc0a7))
* Queue selection for webhooks ([#24876](#24876)) ([#24932](#24932)) ([bd2b90c](bd2b90c))

### Performance Improvements

* defer imports during CLI (backport [#24945](#24945)) ([#24946](#24946)) ([a23a758](a23a758))
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport version-14-hotfix backport to version 14 backport version-15-hotfix Backport the PR to v15
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0