Add better debugging for form errors
webchick - May 19, 2008 - 21:12
| Project: | Drupal |
| Version: | 7.x-dev |
| Component: | simpletest.module |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Right now, if you attempt to fill out a form that doesn't exist on a page, you get:
Found the requested form - FAIL
It'd be nice if it was something like:
Found the requested form at node/add/blah - FAIL
so you have an idea where to start debugging.

#1
#2
#3
Broke the block test by removing the permissions from the test user and the fail statement displayed correctly.
This would be very useful. Everytime I saw that message I had to look at context and try and figure out what drupalPost call was causing it. This patch would make that much easier.
#4
Already RTBC but +1 from me. Very nice change.
#5
Committed to CVS HEAD. Thanks.
#6
Automatically closed -- issue fixed for two weeks with no activity.