Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm having this issue on the login page of my site for example.
Example:
I've got a newsletter subscription form (ajax webform) in a block and the drupal login form.
When I type in a wrong password and my login form call it's validation function the proper messages are being shown.
After that whenever I click the login button, the form shows an ajax loader for a while and nothing happens.
When I turn of ajax on the webform everything is working correctly.
Comment | File | Size | Author |
---|---|---|---|
#4 | webform_ajax-duplicate_id-1548610.patch | 719 bytes | David Stosik |
Comments
Comment #1
David Stosik CreditAttribution: David Stosik commentedHi,
Are you sure you use last versions of every module (Webform 3.17, last dev for Webform AJAX) ?
I did not reproduce that bug yet, so could you please test more, and give me a list of the modules you use, that could interfere ?
Thanks,
David
Comment #2
David Stosik CreditAttribution: David Stosik commentedI'm afraid that is a core issue, so I created this issue : http://drupal.org/node/1548976 .
Feel free to reopen this thread if I am wrong.
David
Comment #3
geertvd CreditAttribution: geertvd commentedDavid,
Does this mean you've been able to reproduce this? Would be convenient to know since this is currently a critical issue in my project and I would like to know if I should check my own code for fixing this.
Thanks,
Geert
Comment #4
David Stosik CreditAttribution: David Stosik commentedYes reproduced. As I told you, this is a consequence of a Drupal core bug.
As this bug could take some time to fix, and your use case is quite common, I finally decided to write a workaround (that will work only on Webform AJAX, and need to be removed as soon as the original bug is fixed).
Could you please test attached path and tell me if it's OK ?
Comment #5
geertvd CreditAttribution: geertvd commentedGreat!
Seems to be working for me, thanks for the quick replies.
Comment #6
David Stosik CreditAttribution: David Stosik commentedGit commit c47eeed .