View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004358 | mantisbt | administration | public | 2004-08-19 06:02 | 2004-08-29 01:47 |
Reporter | avizion | Assigned To | thraxisp | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | i386 | OS | FreeBSD | OS Version | 4.10-p2 |
Product Version | git trunk | ||||
Summary | 0004358: add user broken in cvs head of 12:08 CET | ||||
Description | When I try to create a user on manage_user_create_page.php with all fields filled out properly I get: "APPLICATION ERROR #200 A required parameter to this page was not found. Please use the "Back" button.....<snip>" on page manage_user_create.php. I have not debugged it further - but it's definately reproduceable! Time is now 12:08 CET.
| ||||
Steps To Reproduce | Go this way: <url>/manage_user_page.php Fill out form... all fields with valid data. Press "Create user". Above error will occur. | ||||
Tags | No tags attached. | ||||
Attached Files | lost_email_patch_patch.diff (571 bytes)
--- manage_user_create.php 2004-08-19 13:33:08.000000000 +0200 +++ ../cvs/manage_user_create.php 2004-08-16 08:01:52.000000000 +0200 @@ -19,10 +19,8 @@ $f_username = gpc_get_string( 'username' ); $f_realname = gpc_get_string( 'realname' ); - if ( OFF == config_get( 'send_reset_password' ) ) { $f_password = gpc_get_string( 'password' ); $f_password_verify = gpc_get_string( 'password_verify' ); - } $f_random_password = gpc_get_bool( 'random_password' ); $f_email = gpc_get_string( 'email' ); $f_access_level = gpc_get_string( 'access_level' ); | ||||
Speaking of creating accounts... Users can still apply for accounts and these are created correctly. |
|
Had the same problem. The "lost_email_patch" did add an option 'send_reset_password' that is tested in the file manage_user_create_page.php to determine whether you need to specify an initial password or not. But manage_user_create.php does not check the same variable and always expects a password. I attached a patch. Cheers Gunnar |
|
Thanks, but that didn't do the trick for me :( Unfortunately I'm hung up by other stuff so I can't investigate any further atm. I'm sure it's something trivial - but never the less does it need fixing :) Thanks again for quick response
|
|
There appear to be some extraneous parameters for creating user accounts. |
|
For sure it was my fault when I sent the diff files. It's an patch integration issue. Let me check the original source code of the patch. |
|
I was planning on applying the following patch:
|
|
fixed in CVS |
|
I don't see the change in CVS HEAD. The latest I can see is version 1.19 as of: Sat Aug 14 15:26:20 2004 UTC (5 days, 23 hours ago) by thraxisp Tell me if I'm wrong on that account (I did "cvs update" at my local box and I browsed sf.net's CVS server "Current tag: HEAD")? I also tried to apply your 3-line patch, but that didn't make any difference. Same error occur: "APPLICATION ERROR #200 Thanks in advance for fixing this :)
|
|
There seems to be a long lag (hours) between the CVS commit and it showing up in the web front end. The commit made manage_user_create.php v1.20. |
|
available on sf.net now... |
|