consuldemocracy icon indicating copy to clipboard operation
consuldemocracy copied to clipboard

participate in this vote does nothing

Open ezrahcim opened this issue 3 years ago • 5 comments

Description

Type: Bug

Current Behavior

we don't have access to census yet , but on the settings we put "Skip user verification" on yes, we create polls and now as a email validate user I press on "participate in this vote" and becides reloading the page nothing happens

Expected Behavior

email validated users to be able to vote on polls

Steps to reproduce

deploy with consul installer add mail server to host file as in the docs

ezrahcim avatar Jul 10 '22 14:07 ezrahcim

Hi, @ezrahcim :smile:.

Not sure what's going on :thinking:. In the official demo we've enabled "Skip user verification" and clicking on "participate in this poll" in the polls index works fine. Could you give us the URLs to both the source code you're using and the page where the application is running?

javierm avatar Jul 18 '22 18:07 javierm

Closing due to lack of response. @ezrahcim Feel free to reopen once you provide more information about this issue :wink:.

javierm avatar Aug 08 '22 13:08 javierm

https://decide.huka.co.il/polls/ we use the installer as it is

ezrahcim avatar Aug 22 '22 18:08 ezrahcim

@ezrahcim Thanks for the info!

The only thing that comes to mind is that the slug attribute of the poll (the one which defines the URL where you can see the poll) is an empty string in the database. Could you confirm that? Not sure how that's possible, though :thinking:.

I think we can do a change in CONSUL which would reduce the inconvenience of this issue, but in order to completely fix it we need more information regarding how to reproduce it. Would it be possible for you to tell me the exact steps you do when creating a poll (like: go the this URL, click here, fill in this field, ...)? A video capturing your browser window would work even better.

In particular I'm wondering whether the issue is somehow related to the languages :thinking:, so it would be great to know which language you choose when creating a poll (both the language in the links at the top of the page and the languages you select in the "languages in use" field when creating a poll). I take it the default language of your website is Hebrew and the other enabled languages are Arabic and English; is that correct?

In the meantime, as a workaround, you can manually fill the slug column in the polls database table if it's indeed an empty string.

Thanks!

javierm avatar Aug 22 '22 20:08 javierm

@javierm I'm pretty sure this is the problem, I can register to @ezrahcim CONSUL and participate in the vote using the URL https://decide.huka.co.il/polls/7, but there is no link to this page from polls page so he probably couldn't find it. It looks to me like a poor UX not to have a default link to the poll when it's in the system (I couldn't find where to edit it in the admin panel, how do I do it?).

ohadcn avatar Aug 24 '22 08:08 ohadcn