mayacakmak / emarsoftware

Front end tools for designing robot faces, setting up custom robot APIs, and controlling a robot (WoZ)
BSD 2-Clause "Simplified" License
2 stars 11 forks source link

Undefined Robot #9

Closed tanya17365 closed 3 years ago

tanya17365 commented 3 years ago

While attempting to edit the belly screens for the test robot, the frontend link reset itself or refreshed and instead showed me an empty robot. When I went back to the main screen, it did not show me the list of robots and only displayed 'undefined'. Patricia faced the same issue when she opened the robot setup links at her end. Screenshot (99)

kaimihata commented 3 years ago

If you click on a link (Start Robot Setup, Start Robot Controller, etc) before the list of robots loads, when you navigate to clicked page the robot index will be -1. Then if you make any changes on that page (add a face, etc) it will add an entry into the database with robot index -1. Then, when the site loads the list of robots later it says undefined since there is an array with index -1.