Selction Data Type Warning
goose2000 - June 1, 2007 - 14:15
| Project: | Table Manager |
| Version: | 5.x-1.4 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
When I try to create a new table, after the initial screen (where you choose # columns)
I see this warning, although all the data types seem to default to the 'text' choice
in the drop-down. Don't know if this is by design but it does appear alarming. :
* Enter your selections below, with each choice separated by a newline field is required.
* Enter your selections below, with each choice separated by a newline field is required.
* Enter your selections below, with each choice separated by a newline field is required.

#1
Yeah I noticed that as well... It didn't used to do it I promise! Seems like something changed in core somewhere along the line. I notice a similar problem with the captcha module, as soon as you navigate to the captcha page (without clicking anything I mean) it tells you you've got the captcha wrong... I haven't bothered to fix anything as I'm assuming core will change again and rid you of the error? I guess?...
Pobster
#2
As a hacky workaround change line 2163 (I think!) to;
'#default_value' => $count == $col ? ' ' : $a['choices'],The ' ' space should prevent the validation from throwing up the error as the field won't be empty any more.
Pobster
#3
You know, I did have this core patch done to get the Editview module working. That was done to form.inc I believe. Have you looked at that, or know it is out there?
#4
Oop, nope that one passed me by! Anyways, as with the other issue you've reported the new version works differently (read 'better'!) and this issue doesn't affect it. Don't worry by the way, the new version will be backwards compatible.
Pobster
#5