I've described problem here: http://drupal.org/node/114249
OS: openSuse 10.2
Web Server: Apache 2.2.3
PHP: 5.2
Drupal path: /srv/www/htdocs/drupal5
I've described problem here: http://drupal.org/node/114249
OS: openSuse 10.2
Web Server: Apache 2.2.3
PHP: 5.2
Drupal path: /srv/www/htdocs/drupal5
Comments
Comment #1
moshe weitzman commentedComment #2
valcker commentedYes, there is such problem. Rather annoining bug, especially if you are porting modules from drupal 4.7 to 5.
Comment #3
BioALIEN commentedAgreed, its annoying but I don't think it is a show stopper.
Comment #4
aleksey.tk commentedOf course it is not a show stopper, but it requires more work to do when porting modules to drupal 5, so i think it is must be resolved or it must be annotated in API or handbooks
Comment #5
chx commentedIt's not critical but indeed somewhat annoying, why not try to debug this problem?
Comment #6
eaton commentedThis is most likely an oversight -- in drupal core (and all contrib modules I've ever seen), the keys to form elements do not use spaces, but underscores. Why? They're later turned into CSS IDs and element IDs in HTML, where spaces are not allowed and actually mess things up.
It's more of an oversight that it worked in the first place, given the way formapi uses those keys...
Comment #7
valcker commentedOk, if it is an oversight then it should be annotated in drupal forms API, because it is really unclear for some developers, why they can't use keys with spaces, especially if they knew that in drupal 4.7 all spaces in form element keys where replaced by underscores...
Comment #8
dpearcefl commentedConsidering the age of this issue with no comments and that Drupal 5 is no longer supported, I'm closing this ticket.