I voted this poll but it shows "0 people voted". #190

Closed
opened 2022-08-30 06:35:52 +00:00 by spla · 4 comments

After i voted this poll noticed that it shows "0 people voted".

I'm running Akkoma stable 3.1.0-3-gc52982e9.

After i voted [this poll](https://catala.digital/notice/AN28y8gZ3GsxFH374K) noticed that it shows "0 people voted". I'm running Akkoma stable 3.1.0-3-gc52982e9.
Author

Any news on this? Akkoma's polls keep broken.

cc @floatingghost

Any news on this? Akkoma's polls keep broken. cc @floatingghost

Hello! In addition to the mentioned problem, it seems that the percentages are not shown correctly.

This is because it seems that in akkoma the voters_count field is heard to show the number of votes and calculate the percentages.

The problem is that in simple polls created from mastodon, the voters_count field comes with null value (in this case, you can use votes_count to solve problem in simple polls). In multiple surveys, it seems that the voters_count field is not properly updated.

Instead, when the surveys end, the percentages are correctly displayed.

imagen imagen

Hello! In addition to the mentioned problem, it seems that the percentages are not shown correctly. This is because it seems that in akkoma the voters_count field is heard to show the number of votes and calculate the percentages. The problem is that in simple polls created from mastodon, the voters_count field comes with null value (in this case, you can use votes_count to solve problem in simple polls). In multiple surveys, it seems that the voters_count field is not properly updated. Instead, when the surveys end, the percentages are correctly displayed. ![imagen](/attachments/aa4a4702-b7bb-40c9-b613-b57c0ce5f59d) ![imagen](/attachments/0b0099ab-049d-43af-a5c1-76a1c3741cfd)

As I also get this issue with Moshidon - I could take a look into the logs when I know what to look for.
Edit: screenshots from Moshidon and Akkoma fe attached

As I also get this issue with Moshidon - I could take a look into the logs when I know what to look for. Edit: screenshots from Moshidon and Akkoma fe attached
Oneric referenced this issue from a commit 2024-06-20 17:53:37 +00:00
Oneric referenced this issue from a commit 2024-06-20 17:55:30 +00:00
Oneric referenced this issue from a commit 2024-06-21 16:46:16 +00:00
Oneric referenced this issue from a commit 2024-06-27 16:31:03 +00:00
Oneric referenced this issue from a commit 2024-06-27 23:36:58 +00:00

Here's an example post with pre- and post- above commit applied on mycrowd.ca (with the phanpy.social client). (The working one is after applying d488cf476e )

Here's an example post with pre- and post- above commit applied on mycrowd.ca (with the phanpy.social client). (The working one is after applying d488cf476ea2ea662c5ec6acfa319331c3490d27 )
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#190
No description provided.