kazu2012 / persevere-framework

Automatically exported from code.google.com/p/persevere-framework
0 stars 0 forks source link

Deleting a Class does not fully remove it from generated.js #266

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Deleting a class doesn't fully remove it from the generated.js file. When 
persever is restarted, the class reappears, but without any 
schema definition.

To reproduce this problem:
1. Create a new class through the explorer and save it.
2. Verify it shows up in generated.js
3. Delete the class through the explorer and save it.
4. Generated.js still shows the class, but with an empty schema hash.

After persevere is restarted, the class shows up in the explorer again. 
Deleting the class after persevere has been restarted completely removes it 
from the generated.js file.

We would expect the class definition to be deleted from the generated.js file 
the first time.

Original issue reported on code.google.com by robbie.lamb on 25 Mar 2010 at 4:00