I've a bug with Drupal 8 and Poll module.

I've my poll on this url poll/33. When I click on "vote", the form's action is poll/33?destination=polls/ but that doesn't work... On /polls, all polls are listed.

Any ideas?

Comments

Joouul created an issue. See original summary.

Berdir’s picture

Not sure why the destination is like that, that's strange. But the destination should only be a fallback. Poll forms should always use AJAX for the submission and you should never leave the current page. The destination is only there in case something goes wrong.

Make sure you have no JS errors on your page that are breaking things.

Berdir’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)
Jjjj1258’s picture

Hello Berdir,

thank, the problem was an simple JS error ^^

:)

ivnish’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)