Closed (duplicate)
Project:
Workbench Moderation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2015 at 05:18 UTC
Updated:
6 Feb 2020 at 16:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
acbramley commentedHere's the patch
Comment #3
anybodyHi,
I can confirm this problem, just ran into the same. Your solution is a good starting point, but it would be better to make the return path configurable and not set '' in code.
Furthermore workbench_moderation has the problem that this hook completely kills 'destination' parameter, which would be preferrable to use.
So your patch solves one of the problems but leaves others open in this context.
Comment #4
anybodyLet's close this as duplicate and join efforts in #3111694: Do not override 'redirect' by hard on node form submit (also D8). There are many similar issues all based on this hook implementation. Thank you!