cyruzzo / AboveVTT

GNU Affero General Public License v3.0
126 stars 59 forks source link

Unable to load scenes from DND Beyond Sources #2320

Closed mikeb01 closed 1 month ago

mikeb01 commented 1 month ago

Using the 'Scenes' tab, then 'Create New Scene' I get errors trying to load

I see the following error in the console:

TypeError: Cannot read properties of undefined (reading 'url')
    at ScenesHandler.build_chapters (ScenesHandler.js:715:72)
    at HTMLSelectElement.<anonymous> (ScenesPanel.js:1747:24)
    at HTMLSelectElement.dispatch (VM904 jquery-3.6.0.min.js:2:43064)
    at v.handle (VM904 jquery-3.6.0.min.js:2:41048)
    at Object.trigger (VM904 jquery-3.6.0.min.js:2:71515)
    at HTMLSelectElement.<anonymous> (VM904 jquery-3.6.0.min.js:2:72110)
    at Function.each (VM904 jquery-3.6.0.min.js:2:3003)
    at S.fn.init.each (VM904 jquery-3.6.0.min.js:2:1481)
    at S.fn.init.trigger (VM904 jquery-3.6.0.min.js:2:72086)
    at S.fn.<computed> [as change] (VM904 jquery-3.6.0.min.js:2:88570)
Azmoria commented 1 month ago

Dndbeyond changes their book urls to includes /dnd/ and it broke our importer. It's fixed in beta atm.

Azmoria commented 1 month ago

Fixed on live

github-actions[bot] commented 1 month ago

Included in 1.22-beta18

github-actions[bot] commented 1 month ago

Included in 1.22