Notes aren't saving
#1
Bug 
Anything I put in the notes section disapears after I save and reload.
I am not 100% sure if this is a bug, feature or something that I am doing wrong but regardless, I would really appreciate it if the notes could be saved.

(To clarify, everything else does save. Only what is written in the notes section disapears)
Reply
#2
Someone else reported having this issue. I examined the code trying find any reason this might happen and tried to reproduce it but could not.

The user then stated that they had the site opened in multiple tabs and that was causing the issue. Are you doing anything like that?
Reply
#3
Thanks for replying!
And to answer your question, No. I tried it with it being the only tab open and it still didn't save. Also tried to delete the cache of this website, log back in and it still didn't work.

However I found a solution:
When I go to "https://www.rpgsolo.com/play.php#" I see all of the rolls and such, but the notes appear empty, But if I click on "Load Active" then the notes appear!
So my problem is resolved.

I wonder why the automatic load loads everything except the notes, but the Load Active button loads everything.
Reply
#4
Thank you for shaing this! I will investigate.
Reply
#5
Sorry it took so long but I think I found the issue and uploaded a fix.
Reply
#6
(09-24-2024, 10:30 PM)mark Wrote: Sorry it took so long but I think I found the issue and uploaded a fix.

Great, I just checked it and it's working for me! I'm glad you fixed it.

If you want and it's not too much trouble, can you try to explain what was the issue and how did you fix it?
Reply
#7
I use a third party control for the Notes editor and it was taking some extra time to initialize before it was ready to receive text. So I was trying to load the text into it and then it would initialize so the text was gone.

To "fix" it, I hold the text in memory just a bit to give the control time to load and then send the text to it.

Wasn't easy to figure out because the code looked right but it was just a timing thing.
Reply
#8
Cool, thanks for the explanation
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)