Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VotingResults.GetOptionsVotesPairsByPrompt() returns always the same voting-results #167

Closed
Elias-Ebi opened this issue Apr 19, 2021 · 1 comment
Assignees
Labels
++ very high priority bug Something isn't working website PlayerAudience-Client related

Comments

@Elias-Ebi
Copy link
Collaborator

Elias-Ebi commented Apr 19, 2021

The server always returns the same voting result, even after new options have been received. The cause of the error seems to be in the VotingResults data type, which is also suggested by the following log.

(Edit: updated log to a better example)

[2021-04-19 12:09:50] [0] DEBUG: MC sended following voting options:
        Prompt is: Mit welchem Charakter möchtest du das Spiel spielen?
        Option: Noruso
        Option: Lumati
        Option: Turgal
        Option: Kirogh

[2021-04-19 12:09:50] [0] DEBUG: Received RequestStartVoting.
PACAPi.PABackend.VotingResults.GetOptionsVotesPairsByPrompt:
        Prompt is 2132aa29-d86e-4687-ac85-a7ad9a2fee9f.
        Guid+prompt: [37c1697c-e2a3-4f94-aa4f-3ea562d03eed, Noruso].    Votes: 0
        Guid+prompt: [94ee290f-9e2b-4f79-8db9-a9cf7367d502, Lumati].    Votes: 0
        Guid+prompt: [01eef7af-7089-4736-b5e1-f0720b32c7b4, Turgal].    Votes: 0
        Guid+prompt: [959d322b-18d1-4e9c-9f43-5f550ef37a42, Kirogh].    Votes: 0
[2021-04-19 12:10:20] [0] DEBUG: PAClient provided following options:
        Option: Turgal
        Option: Lumati
        Option: Noruso
        Option: Kirogh

[2021-04-19 12:10:20] [0] DEBUG: Voting ended. Winning prompt is 'Turgal' with 0 votes.
[2021-04-19 12:10:28] [0] DEBUG: MC sended following voting options:
        Prompt is: Welches Anwendungsfach möchtest du auswählen?
        Option: Einführung in Bali
        Option: Anforderungsanalyse
        Option: Einführung in die Softwarearchitektur
        Option: Usability als Erfolgsfaktor

[2021-04-19 12:10:28] [0] DEBUG: Received RequestStartVoting.
PACAPi.PABackend.VotingResults.GetOptionsVotesPairsByPrompt:
        Prompt is 5b94214f-b994-4782-92ff-da70f1ac3b5c.
        Guid+prompt: [37c1697c-e2a3-4f94-aa4f-3ea562d03eed, Noruso].    Votes: 0
        Guid+prompt: [94ee290f-9e2b-4f79-8db9-a9cf7367d502, Lumati].    Votes: 0
        Guid+prompt: [01eef7af-7089-4736-b5e1-f0720b32c7b4, Turgal].    Votes: 0
        Guid+prompt: [959d322b-18d1-4e9c-9f43-5f550ef37a42, Kirogh].    Votes: 0
[2021-04-19 12:10:30] [0] DEBUG: PAClient provided following options:
        Option: Kirogh
        Option: Turgal
        Option: Lumati
        Option: Noruso

[2021-04-19 12:10:30] [0] DEBUG: Voting ended. Winning prompt is 'Kirogh' with 0 votes.
@Elias-Ebi Elias-Ebi added bug Something isn't working ++ very high priority website PlayerAudience-Client related labels Apr 19, 2021
@Elias-Ebi
Copy link
Collaborator Author

Was fixed by Commit 06ca5ae

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
++ very high priority bug Something isn't working website PlayerAudience-Client related
Projects
None yet
Development

No branches or pull requests

2 participants