I've installed Drupal 7 into a subdirectory of web root, and tested this module. Having created an STV election and made two nominations, I switched the election to open voting, and submitted a vote through the default admin user. On submission of the vote, I see that the vote has been submitted, but page redirection also leads to a 404.
From the election_vote component I get: Thank you for voting (position: Leader).
However, redirection leads to: {snip}/tard/?q=/tard/%3Fq%3Delection/1
Which leads to page not found: The requested page "/tard/?q=/tard/%3Fq%3Delection/1" could not be found.
I've marked the issue as Major because if I were going to install to subdirectory in production, this would block me from using the module.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | election_vote_redirect-1946822-2.patch | 2.04 KB | pjcdawkins |
Comments
Comment #1
Honestly Illustrated commentedAdditionally, which may deserve a separate issue ticket, the vote confirmation text
contains an error in its hyperlink on "Leader".
The href for the hyperlink leads to: {snip}/tard/url%5D
That's a "]" appended to the end of the URI.
Comment #2
pjcdawkins commentedHi, could you try this patch (for the original issue)?
Comment #3
pjcdawkins commentedI've committed the above patch.
Comment #4
pjcdawkins commentedI've also committed a fix to #1, documented in #1946948: Provide custom Rules actions for showing messages
Comment #5.0
(not verified) commentedRemoved local-only domain and protocol so we don't publish an unroutable hyperlink.