• SlyEdit_Misc.js error when loading SlyEdit (DCT)

    From Mike Miller@1:103/705 to GitLab issue in main/sbbs on Thu Dec 1 22:21:25 2022
    open https://gitlab.synchro.net/main/sbbs/-/issues/461

    SlyEdit won't load, crashes with:`!JavaScript SlyEdit_Misc.js line 2255: TypeError: behaviorSettings.enableTextReplacements.toUpperCase is not a function`From the sbbs logfile`Dec 2 00:16:28 bbs sbbs: term Node 1 <DaiTengu> append key into keybuf: 0D (\r)Dec 2 00:16:29 bbs sbbs: term Node 1 <DaiTengu> append key into keybuf: 0D (\r)Dec 2 00:16:29 bbs sbbs: term Node 1 <DaiTengu> Executing external: ?slyedit /sbbs/node1/MSGTMP DCTDec 2 00:16:29 bbs sbbs: term Node 1 <DaiTengu> !JavaScript /sbbs/exec/SlyEdit_Misc.js line 2255: TypeError: behaviorSettings.enableTextReplacements.toUpperCase is not a functionDec 2 00:16:30 bbs sbbs: term Node 1 <DaiTengu> '?slyedit /sbbs/node1/MSGTMP DCT' returned 0`This is after a fresh git pull.@nightfox
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab note in main/sbbs on Thu Dec 1 22:44:09 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/461#note_2901

    I hadn't seen that exact error, but I think I was able to reproduce something similar. I have added some safety checks in there when reading the configuration file which I hope will resolve this issue.I'm curious what the value of your enableTextReplacements is in your SlyEdit.cfg?
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mike Miller@1:103/705 to GitLab note in main/sbbs on Fri Dec 2 06:10:23 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/461#note_2902

    weird. I just checked, and it looks like my SlyEdit.cfg is exactly the same as what's in git under `ctrl/SlyEdit.cfg``enableTextReplacements=true`That said, I merged your branch into my local working branch and it all seems well again. Thanks!
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab note in main/sbbs on Fri Dec 2 08:03:37 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/461#note_2904

    I just realized a change I needed to make in SlyEdit_Misc.js. As it was, it would ignore the 'true' setting.. I've pushed up a change that should fix that, so you'll want to merge the branch into your local again.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab note in main/sbbs on Fri Dec 2 08:58:10 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/461#note_2906

    I'll close this issue, as SlyEdit is no longer crashing with the error described.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab issue in main/sbbs on Fri Dec 2 08:58:10 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/461
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)