Recursion when updating user profile with Realname and Organic Groups Field Access enabled and Common's default configuration for Realname.
Realname table not populated for new users. (Commons 7.x-3.3)
Workaround for issue described above:
Configure RealName to use [user:field-name-first] [user:field-name-last] for the user tokens. (Note the use of tokens with "-" in token name, not "_".)
Reproduce this bug with the following steps:
1) Fresh Drupal Commons install 7.x-3.4 with example content, accept all other defaults. (Breaks without sample content installed, as well)
2) Enable OG Field Access module
3) Register a new at user/register or
4) Set password for new user or click verification link in e-mail
5) Log in as newly created user
6) Edit profile at /user/x/edit-profile.
7) Save profile -- WSOD!
8) Profile changes not saved
xdebug call stack attached -- this is from a Commons 7.x-3.3 -- 7.x-3.4 was not triggering xdebug.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | commons_realname-token-fix_2125453_3.patch | 810 bytes | gg4 |
| commons-ogfa-realname.txt | 4.89 KB | gg4 |
Comments
Comment #1
japerryConfirmed that I could reproduce this issue. Looks like reconfiguring the tokens will be just fine. We should also investigate why there are two (one with _ and one with -) being provided. It doesn't do that in Core Drupal 7 w/Realname and OG enabled.
Comment #2
ezra-g commentedSee #1272560: Entity tokens duplicates field tokens created by token module.
Comment #3
gg4 commentedSwaps tokens.
Comment #4
ezra-g commentedAdding to our 3.6 radar and boosting to "major."
Comment #5
japerryComment #6
japerryYup fix confirmed. added an update to the install for previous and tested it on a non-patched commons.
Commit here:
http://drupalcode.org/project/commons.git/commit/f791015
Comment #7
japerry