Software Archive
Read-only legacy content
17061 Discussions

Edit caused loss of all HTML content from index.html

Nick_F_2
New Contributor III
392 Views

Can I post this as a warning but also a request for the Intel development guys to check this out.

I was editing the app.js file in XDK then clicked on DESIGN without first selecting the index.html file.

The designer refreshed as normal but then showed a blank white page and the select a framework dialog popped up. I reselected the app.js file which was still there and complete, selected the index.html file and again got the Select a Framework dialog again.

I then checked the index.html file in Finder only to see it as zero bytes and empty. I has lost my work.

I have been working on this project for a number of weeks now without a problem.

Why would it completely delete all content of the index.html file. I could not attempt an undo as I could not get round the Select a Framework dialog. If I had selected a framework this would have written new content to the index.html file.

Thankfully I have Time Machine and was able to recover my project but what happened was very very disconcerting.

BACKUP BACKUP BACKUP.

I'm using version 2611 on OSX El Capitan.

0 Kudos
2 Replies
Dale_S_Intel
Employee
392 Views

That's a bummer, sorry to hear that.

Just trying simple stuff I wasn't able to reproduce the problem, but if you find a way to consistently reproduce this, we could address the issue.  I'll try running it by some of our developers, but without a reproducer it might be tricky.

 

Thanks!

Dale

 

0 Kudos
Anusha_M_Intel1
Employee
392 Views

Unfortunately I was not able to reproduce the problem. Like Dale said if you can reproduce it, that would be very helpful. So glad you were able to retrieve your work. 

0 Kudos
Reply