• Polls exported to QWKnet appear to allow ballots with than the maximum

    From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Wed Sep 20 17:10:14 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/642

    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).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Wed Sep 20 17:46:19 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/642#note_4223

    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 = false
    MaxVotes = 1
    Results = 1
    Comment0 = (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 computer
    PollAnswer1 = Take it work and plug it into my work computer
    PollAnswer2 = Take it to Walmart and plug it into a computer for sale PollAnswer3 = Pick it up and throw it in a trash bin
    PollAnswer4 = Give it away as a gift
    PollAnswer5 = Call the police
    PollAnswer6 = Nothing
    Subject: You find a USB stick on the ground in public, what do you do? WhenWritten: 20230917145704-0700 c1e0
    Sender: Digital Man
    Conference: 2005

    So this seems to indicate a problem on the import side rather than the export side.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Wed Sep 20 17:58:26 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/642#note_4224

    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?
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)