Closed (duplicate)
Project:
SimpleTest
Version:
6.x-2.9
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2009 at 13:58 UTC
Updated:
27 Nov 2009 at 09:32 UTC
Hi,
When running the following code:
$this->drupalPost('', array('mail' => 'user@domain.com', 'name' => 'user@domain.com'), t('Create new account'));
With this markup:
<input id="edit-name-1" type="hidden" value="" name="name"/>
I get the following error on "Test result":
Failed to set field name to user@domain.com
chx pointed out on #drupal-contribution that:
- it is already fixed in drupal 7 but not backported
- line 1653 should be case 'hidden' in dwtc.php
Let me know if you need more information.
Comments
Comment #1
proppy commentedA tentative workaround:
Comment #2
proppy commentedDuplicate of http://drupal.org/node/488810