Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
overlay.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Dec 2009 at 04:46 UTC
Updated:
3 Jan 2014 at 01:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
David_Rothstein commentedOK, using the principle that all pages which let you edit users in some way or another should be considered "pseudo-administrative", here is a patch.
This is in some way trickier than editing nodes, since if you are a site administrator, editing your own user profile (for example) might be done with a very different purpose than editing someone else's account. But I think the overall principle still makes sense.
(Note that with this patch, the correct theme will not show in the overlay - that requires #615138: Some pages display in the overlay in a non-adminstrative theme in order to work correctly.)
Comment #3
aaronbaumanI don't have any experience with overlay module, but I've applied this patch with unexpected results.
I have a fresh 7.x-dev install from CVS with one user.
I tried to create a new user and edit the existing user.
I tested on 3 browsers in OSX.
In all 3 cases, no javascript errors are thrown.
For all 3 browsers the forms load properly in the overlay, but do not submit (see below).
I could not edit the existing user nor create a new user, ie. the values in the form are not written to the database.
Here are the specific behaviors:
Safari:
After clicking submit, browser shows "loading" status, then completes with no change to the page. The admin is left on the same form with no feedback.
Firefox & Chrome:
After clicking submit, browser shows "loading" status, then truncates the <body> element of the overlay. No further feedback is displayed.
Comment #4
casey commentedissue indicated by aaronbauman is resolved.
Comment #5
yoroy commentedtagging
Comment #6
manumilou commentedI tested the patch with the admin user and an authenticated user. I reproduced the steps described in #1 and the bug is still here. The edit account page does not open in overlay. As soon as I saved the user, I am redirected to the list of users in an overlay.
Comment #7
casey commentedYou need to clear Drupal cache; it works perfectly fine.
Comment #8
ygerasimov commentedI have tested this patch. Works great after clearing cache.
Comment #9
tstoecklerSince multiple people have tested this patch to work and the code looks good (and still applies) marking RTBC.
Don't know if this still needs a sign-off from yoroy (see #5) or not.
Comment #10
tstoecklerComment #11
dries commentedWorks! Committed to CVS HEAD.