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.
If an anonymous user uses the 2.4 form, in which the %username and %useremail are used, the token values are visible instead of spaces.
Comment | File | Size | Author |
---|---|---|---|
#2 | webform_user_replacements.patch | 976 bytes | quicksketch |
Comments
Comment #1
cerebral CreditAttribution: cerebral commentedFacing the same problem with version 6.x-2.4
Comment #2
quicksketchSeems to be caused by #337578: 3 x undefined variable/index errors + coder style cleanup. You can correct it with the attached patch. I'll wait a week before releasing another version to shake out any other bugs that pop up in the 2.4 version.
Comment #3
crac CreditAttribution: crac commentedbtw. the version of drupal-5 seems also to be affected by this issue..
Comment #4
chriscohen CreditAttribution: chriscohen commentedI have applied the patch to webform-6.x-2.4 but this does not appear to fix the problem.
Comment #5
cerebral CreditAttribution: cerebral commentedYes it originally was targeted to version 5 but mistakenly changed it to 6 thinking it would add to 5.. any way to target several versions in here ?
Comment #6
joewang CreditAttribution: joewang commentedThe patch seems logical--why doesn't it work?
Comment #7
LUTi CreditAttribution: LUTi commentedFor me it seems to work just fine.
Try to clear your browser cache and Drupal cache, and then reload the webform...
Comment #8
quicksketchI figured this patch worked fine. Thanks for the confirmations. I've committed it to both D5 and D6.
Comment #10
quicksketchKeeping in the queue until 2.5 is out.