I get ten of these notices on a fresh Drupal 7 Alpha 6 installation:

Location http://d7/admin/config/search/path/patterns?render=overlay
Referrer http://d7/tracker
Message Notice: Undefined index: complete form in _form_validate() (line 1104 of D:\wamp\www\d7\includes\form.inc).

Comments

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new3.1 KB
new1.5 KB

Found the proper way to do this with #after_build. Patches for D7 and D6 attached. The minor token.module changes necessary have already been committed.

dave reid’s picture

Status: Needs review » Fixed

Passed for me locally and fixes the notices, so committing to both branches. Yay proper Form API properties!

tsvenson’s picture

Confirmed, did the trick for me too. Thanks.

Status: Fixed » Closed (fixed)

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