When validation return errors, in a 'not first step', the $form and $form_state are completely empty. This is causing a lot of issues on my system (and possibly is causing with other modules too)... I don't figured out the problem yet, but I appreciate if anyone can help me.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tregismoreira’s picture

This is causing problem with progress block too. Look at this another issue #1895794: progress block disappears when node submitted with validation errors.

tregismoreira’s picture

Hmm, I think this is occurring in all steps (even the first step).

guilopes’s picture

this patch solves the problems

tregismoreira’s picture

The patch #3 works perfectly for me! Thanks a lot, @guilopes ;)

tregismoreira’s picture

Oh, sucks! Actually the patch #3 broke ALL the ajaxes in the form :(

guilopes’s picture

this new patch solves problems with AJAX :-) @tregismoreira

tregismoreira’s picture

Great patch, it solves my problem! Thanks again! :D

I just adjusted a few things in the code (comments, spacing, etc). Here's updated patch.

CKIDOW’s picture

This patch works BUT it causes the error, that if you click "previous" button the state values from the previous steps are not restored.

rooby’s picture

Issue summary: View changes
Status: Active » Needs review