When we apply for a CVS account and fill out the application form, cvs account user name is pre-filled and is read only text box. when we submit the form it shows error "CVS username field is required."

It is a bug as cvs user name text box is not editable.

To reproduce the bug follow following steps:
1. Go to CVS account application form "http://drupal.org/cvs-application" after logging in with your user name and password.
2. Fill in the details for the form and click the button "Request CVS account".
3. You will see the error "CVS username field is required.".

can anyone tell anything about this?

CommentFileSizeAuthor
#6 cvslog_fix_reapplication.patch3.41 KBhunmonk
drupal_error.PNG160.06 KBagupta

Comments

agupta’s picture

forgot to mention explicitly (though its obvious but still.....)it is happening on drupal.org site

dave reid’s picture

Project: Drupal core » Drupal.org infrastructure
Version: 6.x-dev »
Component: forms system » Drupal.org module
Priority: Critical » Normal
Issue tags: +drupal.org upgrade
gábor hojtsy’s picture

Project: Drupal.org infrastructure » CVS integration
Version: » 6.x-1.x-dev
Component: Drupal.org module » Code

The code for that form lives in CVS.module.

dww’s picture

Assigned: Unassigned » dww
Issue tags: -drupal.org upgrade

This is an old bug, and has nothing to do with the d.o upgrade. The bug only appears when someone re-applies for a CVS account after they've already been denied. There appear to be a few edge-case bugs in those code paths. I'll fix this when I get the chance.

agupta’s picture

how could i now apply for CVS account?? is there any other way???

hunmonk’s picture

Assigned: dww » hunmonk
Status: Active » Needs review
StatusFileSize
new3.41 KB

seems the easiet fix here is to simply pass the username as a value and use a separate form item to display it.

attached patch was tested for both new applications and reapplications, and appears to function perfectly.

dww’s picture

Status: Needs review » Needs work

chx told me in IRC that setting #value for disabled elements was perfectly valid, along the lines of #380350-9: Editing release nodes without 'Administer projects' permission is broken because title + version are disabled. That's probably an easier solution in here.

dww’s picture

Assigned: hunmonk » dww
Status: Needs work » Fixed

In my local testing, this is all we needed: http://drupal.org/cvs?commit=176262
I locally applied the patch on d.o, and it seems to be working fine.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.