This bug is easy to see if you use contextual links (for example to configure a block and move it from the left to right sidebar), or via straight up editing of a node.
When you submit the form, the overlay closes, and the parent window that you see underneath does not reflect the changes you made. Only if you reload the page manually do you see the changes.
The attached patch fixes it - note that all we have to do is remove some code! Discussed with @ksenzee and we both agreed that whatever benefit that code had in avoiding unnecessary redirects (I can't even find any at the moment?) is almost certainly overshadowed by this bug, so let's just remove it.
Comment | File | Size | Author |
---|---|---|---|
overlay-reload-parent-window.patch | 2.69 KB | David_Rothstein | |
Comments
Comment #1
David_Rothstein CreditAttribution: David_Rothstein commentedShould clarify this... this patch only addresses the case where the overlay closes automatically on form submission. It does not address the case where you edit some stuff in the overlay, submit some forms which do not cause the overlay to automatically close, and then close the overlay manually. That one is a trickier bug which I will file as a separate issue a bit later.
Comment #2
David_Rothstein CreditAttribution: David_Rothstein commentedSee #655722: Changes made in an overlay session are not reflected when the user closes the overlay for the other issue.
Comment #3
ksenzeeThis is a very straightforward change that I probably should have made before the initial commit.
Comment #4
webchickNice. I always love less buggy code that also results in less code. ;)
Committed to HEAD!