-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ankush
reviewed
Feb 19, 2024
ankush
approved these changes
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
ankush
pushed a commit
that referenced
this pull request
Feb 19, 2024
@Mergifyio 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
ankush
pushed a commit
that referenced
this pull request
Feb 19, 2024
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))
1 task
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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!