Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
forms system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Nov 2009 at 16:08 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rfayThe Examples module AJAX Example now provides a testbed for this. Use the "AJAX Example: Advanced Commands" menu.
Comment #2
katbailey commentedFor anyone else looking at this, it's a hard one to test while this issue is still outstanding: #622922: User input keeping during multistep forms. ($form_state['values']['changed_command_example'] is always empty so the asterisk doesn't get added).
However, if I remove the dependency on anything in $form_state['values'] in the callback, I confirm that the asterisk does get added, whereas it doesn't without the patch.
Comment #3
webchickI can haz tests?
Comment #4
rfay@webchick, you now haz tests. Lots of tests.
This patch adds a test for the asterisk portion. The main portion was already covered by the other issue.
Comment #5
webchickExcellent!
Committed to HEAD, with a couple of small whitespace fixes.