openroberta-lab icon indicating copy to clipboard operation
openroberta-lab copied to clipboard

Imported Programs Get Automatically Renamed To NEPOprog

Open nishanth1232 opened this issue 6 years ago • 1 comments

Describe the bug

  • When a program is imported into the lab, the program name changes to NEPOprog.

To Reproduce Steps to reproduce the behavior:

  1. Go to the lab.
  2. Import any program.
  3. See that the program name has changed to 'NEPOprog'.

Expected behavior

  • The program name should be the name of the .xml file being uploaded.

GIF

Screen Recording 2020-01-19 at 10 24 52 19 PM

Device information

  • Type: Laptop
  • OS: Windows 10
  • Browser: Google Chrome

nishanth1232 avatar Jan 19 '20 16:01 nishanth1232

I believe NEPOprog is assumed to be the name until it is saved in the database. We could think about using the filename as a base name beforehand.

boonto avatar Jan 19 '20 17:01 boonto