Closed (fixed)
Project:
Save & Edit
Version:
8.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2017 at 13:25 UTC
Updated:
17 Oct 2019 at 21:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alex_kukso commentedComment #3
prashant.c@alex_kukso
You patch seems to be working fine.
PFA Previously it was throwing error after applying the patch redirect is working fine.
Comment #4
andileco commentedWorks well for me. Glad it was something simple.
Comment #5
trevorbradley commentedWorks perfectly for me, thanks!
Comment #6
trevorbradley commentedHold on... maybe not. The destination shouldn't be removed from the URL after "Save & Edit" is clicked. The user might eventually want to "save" and go back to where they were working.
Let me see if I can whip up a replacement.
Comment #7
trevorbradley commentedOK, after a good amount of digging, I've changed my mind again. The issues about overriding a destination, as seen in #2950883: Allow form redirects to ignore ?destination query parameter are quite complex.
This fix is 90% sufficient. I'd suggest rolling in this patch (It's far better than nothing!), and if #2950883: Allow form redirects to ignore ?destination query parameter does get passed in some form, then the issues of destroying destination can be re-addressed.
Comment #8
fudeglan commentedIf you click on Save it will not return it to /admin/content
Comment #9
fudeglan commentedComment #10
wturrell commentedTested fudeglan's patch, both the Save and Save/Edit buttons working correctly in admin/content for me.
Comment #12
q__nt_n