aquariumbio / aquarium

The Aquarium Lab Operating System
http://klavinslab.org/aquaverse/
MIT License
58 stars 15 forks source link

Blank Protocols when Pasting (may be related to #621?) [BUG] #623

Open malloc3 opened 3 years ago

malloc3 commented 3 years ago

Describe the bug This bug has been going on for a while. And really isn't a big deal.

When pasting large chunks of code directly into the Aquarium editor (I know you shouldn't do this but sometimes you gotta when trying to harmonize two instances and Pfish isn't playing nice) you can hit save and everything looks fine. But if you navigate away and come back to that editor page the whole page will be blank. This is problematic.

Happens about 50% of the time you past large chunks of code.

To Reproduce

  1. Paste large chunks of code into Aquarium editor.
  2. Observe how your code is magicked away (imagine Bilbo at his hundred and eleventh birthday)

Expected behavior Code is like hobbits. Adventures are frowned upon and magical disappearances are just rude. (you could at least give me you silver spoons if you are going to be like that)

Screenshots It's hard to take screenshots of things that disappear. Sauron may be able to see what happened tho...

Computer/Device (please complete the following information): One bug to rule them all and in the error bind them. This happens on all the devices I have used.

Additional context Although unlike the one ring this doesn't involve the end of middle earth. It sometimes causes the end of my sanity.

Also sorry for the LOTR references, I drank too much coffee.