Hi, when clicking on "Register for account with comment. ", the form displayed is empty, see attached picture.
Then after submitting the comment, I have these errors:

Notice : Undefined index: pass dans comment_registration_form_comment_form_alter() (ligne 70 dans /.../sites/all/modules/comment_registration/comment_registration.module).

Notice : Undefined index: #value dans comment_registration_submit() (ligne 155 dans /.../sites/all/modules/comment_registration/comment_registration.module).

Notice : Undefined property: stdClass::$comment_body dans comment_submit() (ligne 2180 dans /.../modules/comment/comment.module).
PDOException : SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'jkdhjkdhkhk' for key 'name': INSERT INTO {users} (uid, name, mail, created, data) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => 450 [:db_insert_placeholder_1] => jkdhjkdhkhk [:db_insert_placeholder_2] => test@yopmail.com [:db_insert_placeholder_3] => 1339014600 [:db_insert_placeholder_4] => a:1:{s:7:"contact";i:1;} ) dans drupal_write_record() (ligne 7013 dans /.../includes/common.inc).

The comment is not registered, but the welcome email is sent normally.

CommentFileSizeAuthor
Capture du 2012-06-06 22:31:31.png12.19 KBLouis Bob
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

WorldFallz’s picture

Status: Active » Postponed (maintainer needs more info)

hmm... I think I know what might be happening. Are you using the "Require e-mail verification when a visitor creates an account." setting at admin/config/people/accounts?

If so, that's the correct behavior, I just have to hide the registration fieldset (since email verification doesn't allow the password to be collected, the fieldset is empty).

Louis Bob’s picture

Yes you are right , I am asking for email verification to create an account.
So I wait for the next release then :)

Thanks.

WorldFallz’s picture

Status: Postponed (maintainer needs more info) » Active

i should have something to commit today or tomorrow.