A lot of notices are in those theme form_element calls. Instead of checking for every instance of the presence of the multitude of attributes, I'm passing $element and let form_element check for presence, which was already present anyways.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chx’s picture

FileSize
12.81 KB

Last I checked we have a bug which needs a followup to attach.

killes@www.drop.org’s picture

can somebody please test this?

puneetc’s picture

I just downloaded this patch and applied it but am still getting the following errors:

# warning: Missing argument 2 for filter_form_validate() in /drupal3/modules/filter.module on line 833.
# warning: implode() [function.implode]: Bad arguments. in /drupal3/includes/form.inc on line 296.
# warning: Missing argument 2 for filter_form_validate() in /drupal3/modules/filter.module on line 833.
# warning: implode() [function.implode]: Bad arguments. in /drupal3/includes/form.inc on line 296.

Zen’s picture

Status: Needs review » Needs work

Patch needs a re-roll.

-K

puneetc’s picture

Any ETA?

chx’s picture

FileSize
12.2 KB

Can't believe I needed to reroll...

chx’s picture

FileSize
12.2 KB

A simplified version (this patch is the direct descendant of the #prefix / #suffix theme patch and things that were necessary there aren't here).

chx’s picture

FileSize
11.41 KB

Bad file attached.

chx’s picture

FileSize
10.78 KB

Some testing...

Tobias Maier’s picture

Status: Needs work » Needs review

status...

killes@www.drop.org’s picture

Too large to include it as this stage of development. Should probably be committed on HEAD after 4.7 has been branched off.

chx’s picture

Status: Needs review » Postponed
chx’s picture

FileSize
14.25 KB
Zen’s picture

Status: Postponed » Needs work

This one needs a re-roll.

-K

chx’s picture

Status: Needs work » Postponed
FileSize
10.47 KB
chx’s picture

FileSize
9.38 KB
chx’s picture

Status: Postponed » Reviewed & tested by the community
FileSize
9.91 KB
drumm’s picture

Status: Reviewed & tested by the community » Fixed

Form.inc is quite sloppy with the '.' should be next to quotes code style rule. I corrected this in the added lines.

I also updated for a conflict caused by #61304 being comitted.

Comitted to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)