• DDMsgReader can't properly list empty message areas

    From Andre Robitaille@VERT to GitLab issue in main/sbbs on Sun Mar 6 09:14:36 2022
    open https://gitlab.synchro.net/main/sbbs/-/issues/367

    Message list ('M' from message reader) gets confused if there are no messages in an area. Easily recreated by 'C' from that message list.

    It's ends up showing a big list of "nobody" and bad dates.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to GitLab note in main/sbbs on Mon Mar 7 03:41:08 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/367#note_2421

    I don't understand this issue. You can only press M when you're reading a message, and if there are no messages in a sub-board, then you can't get into the reader mode (since there are no messages to read). And if there are no messages in a message area, there would also not be any messages to list. If you have a list of "nobody" and bad dates, I have a feeling that particular messagebase may be corrupt on your system.

    I would recommend running chksmb <filespec>, where <filespec> is the name of that messagebase .SHD file. If it finds any problems, you can then run fixsmb <filespec> and hopefully it will fix any issues the messagebase may have. I think you can even run fixsmb without using chksmb first.

    Wiki pages: [chksmb](http://wiki.synchro.net/util:chksmb) and [fixsmb](http://wiki.synchro.net/util:fixsmb)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Andre Robitaille@VERT to GitLab note in main/sbbs on Mon Mar 7 07:32:15 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/367#note_2422

    1. Change to sub-board with messages in it. Method doesn't matter.
    2. (R) read messages
    3. (M) list messages
    4. (C) change area
    5. Use chooser to end up in sub-board with no messages

    ```
    1 Nobody Nobody 1969-12-31 18:00:00
    ...
    20 Nobody Nobody 1969-12-31 18:00:00
    ```

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Andre Robitaille@VERT to GitLab note in main/sbbs on Mon Mar 7 11:04:43 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/367#note_2423

    Did a little more testing this morning. It's unique to DDMsgReader because of the ability to jump areas direct from the message list. It's populating from getBogusMsgHdr, which is used often, but I suspect you're creating headers when the number of messages in the message list is zero.

    I'd say this is pretty low priority to fix, but the issue is real.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to GitLab note in main/sbbs on Mon Mar 7 16:27:23 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/367#note_2425

    I can reproduce that and will look into it.
    It seems it only happens when you change to an empty sub-board from within DDMsgReader. If you change to an empty sub-board from the BBS and try to read it with DDMsgReader, DDMsgReader will tell you there are no messages in the sub-board.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab issue in main/sbbs on Mon Mar 7 23:00:56 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/367

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net