Description
The configuration parameter user_form_disable is ignored in 1.7rc3.
Steps to reproduce
Add user_form_disable = ['name', 'aliasname', 'email',] to wikiconfig.py.
Restart wiki, check the display of the Settings:Preferences page.
Example
Partial html output of 1.7rc3 is:
<td> <input type="text" name="name" value="RogerHaase" size="36"> (Use FirstnameLastname) </td>
Partial output of 1.6.3 is:
<td> <input disabled type="text" name="name" value="RogerHaase" size="36"> (Use FirstnameLastname) </td>
Component selection
- userprefs/prefs.py or widgets/???
Details
MoinMoin Version |
1.7rc3 |
OS and Version |
W/Vista |
Python Version |
2.5 |
Server Setup |
Apache |
Server Details |
wsgi |
Language you are using the wiki in (set in the browser/UserPreferences) |
en |
Workaround
Discussion
Sorry, I can't reproduce it. For me, the 3 fields are disabled when I try this:
- using 1.7.current (almost identical with rc3)
- adding your user_form_disable to wikiconfig.py
- starting standalone server
- creating a user and logging in with it
going to userprefs -> Preferences
- all 3 fields disabled
-- ThomasWaldmann 2008-06-15 21:53:13
Hi RogerHaase
can you please paste your wikiconfig or check if there is a wrong indenting used for that var. -- ReimarBauer 2008-06-16 05:19:59
Thanks, it was all my problem, no bug. While converting my ExternalCookie auth method to 1.7, which required changing from a method to a class, I accidently left the user_form_disable definition high in wikiconfig.py under the new ExternalCookie class definition. Moving the statement to its proper place fixed the problem. -- RogerHaase 2008-06-16 15:40:20
Plan
- Priority:
- Assigned to:
- Status: can't reproduce. if someone can, please provide more details and reopen.