Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Bug in journal display javascript

Hey there, I'm actually a professional javascript programmer, so I'm pretty sure I know what happened, but here it is: I had a popup blocker extension loaded in chrome when I tried to make a new folder in my journal. This of course stopped the native dialog box where you accept the new string for the folder name. As a result, I think a journal folder was saved with no title. When I reload the game, I can no longer see any of my old journal entries. When I open the chrome javascript inspector sure enough, right after a console comment indicating you've loaded the journal data... app.js?1457999782:30 Final set zoom! app.js?1457999782:43 Refresh Journal List! app.js?1457999782:31 Uncaught TypeError: e.replace is not a function This is presumably because the code has been minified and is attempting to run a replace() method against a null value instead of the string value it is supposed to have. Can you guys delete or update that null-valued folder name in your DB? (And perhaps consider implementing some server-side data type validation in your storage endpoint. :)
Also, I can no longer create new journal items or see existing previous entries, presumably because the error thrown during journal rendering is simply halting out of the entire function you run when you display that panel.
Thank you for your bug report. Could you please post a link to the game details page of the affect game? (The URL looks like <a href="https://app.roll20.net/campaigns/details/1234567/" rel="nofollow">https://app.roll20.net/campaigns/details/1234567/</a> )
Sure. <a href="https://app.roll20.net/campaigns/details/1299043/the-rimefrost-waste" rel="nofollow">https://app.roll20.net/campaigns/details/1299043/the-rimefrost-waste</a>
Thank you. I've brought your issue to the attention of the Roll20 Dev Team, who will take a look.
1459533031
Phil B.
Forum Champion
Sheet Author
You had several folders that didn't have names, I would have just deleted them but I think one of them had items under it. I went ahead and gave them each a name. That should fix it. If that doesn't fix it, or breaks something, let me know and I'll take another look at it.
Thanks Phil, I appreciate it!