Posting a poll and specifying a maximum number of answers per ballot (e.g. limiting to 1 answer out of 4 possible answers), when that poll message is subsequently imported into QWKnet nodes, it appears that user can cast ballots with more the maximum number of votes per ballot (i.e. selecting more answers than the pollster desired).
Designs
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
In the problematic sighting, the poll-message in question does appear to be represented correctly in the exported VOTING.DAT file (in the QWK packet), note the "MaxVotes" value:
[35380][poll:<65077630.17994.dove-hlp@vert.synchro.net>]Utf8 = falseMaxVotes = 1Results = 1Comment0 = (it's not your USB stick and you don't know where it came from)PollAnswer0 = Take it home and plug it into my personal computerPollAnswer1 = Take it work and plug it into my work computerPollAnswer2 = Take it to Walmart and plug it into a computer for salePollAnswer3 = Pick it up and throw it in a trash binPollAnswer4 = Give it away as a giftPollAnswer5 = Call the policePollAnswer6 = NothingSubject: You find a USB stick on the ground in public, what do you do?WhenWritten: 20230917145704-0700 c1e0Sender: Digital ManConference: 2005
So this seems to indicate a problem on the import side rather than the export side.
Oh, it just occurred to me. Those responding to the poll with greater than the allowed number of answers are likely using DDMsgReader.
Hey @nightfox, is DDMsgReader adhering to a poll-message's vote limit (max number of answers per ballot) or just allowing user's ballots to contain as many answers as the user would like?
Yes, DDMsgReader (and SlyVote) didn't implement single-answer poll voting properly (they weren't using a bitwise operation to set the 'votes' property of the response header). I've made a fix and a merge request.
Rob Swindellchanged title from Polls exported to QWKnet appear to allow ballots with than the maximum number of specified anwsers to Poll ballots seen with more than the allowed maximum number of answers
changed title from Polls exported to QWKnet appear to allow ballots with than the maximum number of specified anwsers to Poll ballots seen with more than the allowed maximum number of answers
On Mon Jun 17 2024 04:36 pm, in DOVE-Net Synchronet Discussionthemintyuser (MORPHEUS) voted in your poll: New SBBS installs should prevent new users from echo-posting?√ Yes, new users should not have network posting privileges√ No, a sysop should opt-in to restrictions on new users