"select-fields" reserves after validation CSS-class "error"

jo11 - May 12, 2009 - 21:10
Project:Ajax
Version:6.x-1.14
Component:User interface
Category:bug report
Priority:normal
Assigned:jo11
Status:active
Description

I have read the posts http://drupal.org/node/441316 and
http://drupal.org/node/440126, but it seems the error isn't fully resolved yet - so I guess.

The bug occurs in the following operation:

1) I provoke an error, by doing a faulty insertion - I didn't fill out two select-fields.

2) After submit (loading...) I obtain two respective messages and the select-fields
appear with a red border (class = "error") - as far as good, that's ok.

3) Now I correct one entry (fill out one select-field), the other one stays empty to provoke the error.

4) After a further submit, I still get one message, as expected. But the two red
border (class = "error") are still there!

I have tested in 6.x-1.14 and 6.x-1.x-dev by using standard-forms and my own forms.
In addition, I tested on different systems. Always with the same result.

 
 

Drupal is a registered trademark of Dries Buytaert.