Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When saving a context and entering an invalid name, all changes to reactions and conditions are lost when the form fails validation. I don't know if there is a way to pass back the form / widget state if the save fails validation?
Comment | File | Size | Author |
---|---|---|---|
#2 | context-validation-952166-2.patch | 2.45 KB | febbraro |
Comments
Comment #1
dealancer CreditAttribution: dealancer commentedsubscribing, this bug is also typical for 6.x version of this module.
Comment #2
febbraro CreditAttribution: febbraro commentedOK, this is a good first pass at repopulating the form on a validation error. There is a kink here or there (I think it does not preserve the debug reaction).
Comment #3
febbraro CreditAttribution: febbraro commentedOk fixed and in git.
http://drupalcode.org/project/context.git/commit/1585880
Comment #4
caschbre CreditAttribution: caschbre commentedWas that patched for the D7 version, D6 version, or both? The D6 dev version didn't look to be updated on the project page. I'm experiencing this issue with D6.
And it that is a D7 patch... would it also work in D6?
Comment #5
febbraro CreditAttribution: febbraro commentedThis is fixed in D7, it could be back ported. I'm not sure how much things have changed b/w D6 & D7, but if you look at the diff from the git commit it could possibly be backported.
Comment #9
paulocsAs this issue was already fixed and context for Drupal 6 is no longer supported, I'm closing this issue.
Thanks.
Comment #10
paulocsComment #11
paulocs