Details
-
Bug
-
Resolution: Fixed
-
High
-
1.7.7, 1.13.2, 2.2.1
-
None
-
[2.3] Sprint 3
Description
Steps to reproduce
- Configure SwiftMailer
- Go to the backoffice
- Create the new content
- Send to review
- Check email inbox
Result
You will receive an email (see attachment) which contains a button. The button's URL is:
/ez#/edit/%2Fapi%2Fezp%2Fv2%2Fcontent%2Fobjects%2F50/version/%2Fapi%2Fezp%2Fv2%2Fcontent%2Fobjects%2F50%2Fversions%2F3/eng-GB
The link does not contain a scheme and domain, therefore the button is completely useless.
Expected result
I want to get a clickable button.
Important note for v2
It seems that FlexWorkflow for v2 hasn't been rewritten correctly from v1. All links are generated like for the v1:
https://github.com/ezsystems/flex-workflow/blob/v3.0.1/lib/Core/SignalSlot/Slot/OnWorkflowUpdateSlot.php#L195
https://github.com/ezsystems/flex-workflow/blob/v3.0.1/lib/Core/SignalSlot/Slot/OnWorkflowUpdateSlot.php#L241