-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Workflow email link does not link to the correct draft but only to the live version of the entry #204
Comments
Quick clarification here - is the editor creating a brand new entry, or a draft on an already existing entry? The two processes can work slightly differently, so it's worth noting the difference one way or the other. The |
Hello and thanks for coming back to this.If the editor is creating a brand new entry, the email link is correct. But if the editor is creating a draft on an existing entry,this process does not create the correct email link. This is the issue we hope to get a fix for as it is a problem for our clients. Thanks. |
Hi there. Is there any response or thoughts available on this matter. This is important for us. Appreciate it. Cheers |
Hi there,this issue is important for our clients and I would appreciate if it is being looked into and responded. Thanks |
Haven't forgotten about this, just struggling to reproduce this one on our end. Are you able to send through the email template for the submission notification? These can be found in Utilities > System Messages. |
Actually, just after sending this I was able to replicate this one. Should be fixed for the next release. To get this early, run |
Thank you so very much. Tested it and the issue is now resolved. Cheers. |
Updated in 2.0.9 |
Hi, we are seeing this issue happen again for us, after updating to Craft 5.6.5.1 and Workflow 3.0.6. In the email notification from the editor to the publisher, the {{ submission.ownerCpUrl }} variable is set to the current live version of the entry rather than the actual draft, the "?draftId=xxxxxx" is omitted. |
I'm not able to replicate this sorry. Can you locate the review in the |
In this particular case, the |
That was my next question, whether this was a brand-new entry, or a new draft on an entry. Technically in either case they should both be drafts, but just wanted to confirm regardless. So just to confirm, you're making a submission on an already published entry (so a new draft is being made), and the |
Yes, that's it exactly |
I think I've narrowed things down. Should be fixed for the next release. To get this early, run |
That seems to have done the trick, thanks! |
Describe the bug
Workflow email link does not link to the correct draft but only to the live version of the entry.
Steps to reproduce
Craft CMS version
4.7.0
Plugin version
2.0.8
Multi-site?
No
Additional context
This happens both in local and production.
The text was updated successfully, but these errors were encountered: