The form_set_error uses the wrong form api element to set the error.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chx’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests
Tor Arne Thune’s picture

Version: 7.x-dev » 8.x-dev
Issue tags: +Quick fix, +Needs backport to D7
FileSize
492 bytes

Still a valid issue in Drupal 7.2. Re-rolled the patch against branch 8.x.

Tor Arne Thune’s picture

Status: Needs work » Needs review
opi’s picture

The patch in #2 works fine for me, see attached screenshots

Devin Carlson’s picture

FileSize
512 bytes

Another +1 to the patch in #2. It works (see the screenshots in #4), but it requires a re-roll as it was created before D8 moved everything to /core.

The attached patch is a simple re-roll.
I'll mark this issue as RTBC assuming the patch passes tests.

Devin Carlson’s picture

Status: Needs review » Reviewed & tested by the community
catch’s picture

Version: 8.x-dev » 7.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)
Issue tags: -Needs tests

This makes sense. It's a sufficiently minor bug (and on only visual) that I don't think we need an automated test for it. So I've gone ahead and committed/pushed to 8.x.

Marking for backport.

Tor Arne Thune’s picture

Status: Patch (to be ported) » Needs review
FileSize
492 bytes

D7 re-roll.

Status: Needs review » Needs work
Issue tags: -Quick fix, -Needs backport to D7

The last submitted patch, D7-favicon-error-1025286-8.patch, failed testing.

Tor Arne Thune’s picture

Status: Needs work » Needs review
Issue tags: +Quick fix, +Needs backport to D7

#8: D7-favicon-error-1025286-8.patch queued for re-testing.

Tor Arne Thune’s picture

Status: Needs review » Reviewed & tested by the community

Since it's just a D7 re-roll...

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 7.x. Thanks!

Status: Fixed » Closed (fixed)
Issue tags: -Quick fix, -Needs backport to D7

Automatically closed -- issue fixed for 2 weeks with no activity.