|
| "Save As" overwrites original... |
| Iniciado por guest, 31,may. 2018 08:30 - 4 respuestas |
| |
| | | |
|
| |
| Publicado el 31,mayo 2018 - 08:30 |
Hi,
Just ran into a situation that is troublesome. I loaded one of my pages in WebDev 21 that had lots of controls for the purpose of creating a "master page"/ "page template". I then deleted the not in common controls and saved it using the "save as" dialog. It created the page as expected, but the "save as" process saved the original page where the objects had been deleted, without asking me to save it. This caused me to lose all the objects. I expected the "save as" process to create as expected and not do anything to the original.
How can I recover?
Thanks, Stanley Barnett |
| |
| |
| | | |
|
| | |
| |
| Publicado el 31,mayo 2018 - 13:13 |
Hi Stanley,
I don't thnik what you describe is what really happened...
I'm doing SaveAs very often, and it does NOT overwrite the original... EVER...
What probably happened is that you didn't take into account the AUTOMATIC SAVE that is done by the editor (every 10 minutes from the top of my head, but the details are in the help).
so: - you open your page - do a lot of changes (more than 10 minutes) - AUTOMATIC SAVE (your 'overwrite') - and THEN you do a saveAS
What you should have done: - open your page - IMMEDIATELY do a saveAS - then change your new object
As for what to do now, you have to restore a backup. If like me you backup every evening, you shouldn't have lost too much. Another solution is to use the 2 automatic backup files that contains the previous versions of each objet (in the backup directory, same name as your page, extension like bkp and such)... just rename and put in the project directory and see if it solves your problem.
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,junio 2018 - 17:02 |
Hi Fabrice, in WINDEV, there's a (small) problem with renameing a window indeed.
If you change/overwrite the "logical name" of a window then you have to close it to rename the "physical name" (whose name is "Location" - NOT "physical name") also. If you don't close the window and just close the project, the "logical name" will differ from the name in "Location"! Ok, one just has to know how it works but beginners will be surprised a bit. To "repair" the name difference: remove the window from the project and then open and store it again in the project. After that - rename the window once again and close it.
[attachment 2721 Describingthewindow.png] |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,junio 2018 - 23:23 |
Hi Guenter
we were not talking about renaming the window, but about doing a saveAS... AFAIK, it does rename both logical and physical names.
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 04,junio 2018 - 03:10 |
Hi All,
Just to clarify after a lot of testing as we see this is a serious issue, if you don't know how it ACTUALLY works...
When using the regular "save as" all is well and all works as expected
This issue is with "save as template", where the original opened file automatically gets saved (even with auto backup disabled), then closed and the newly created template file is opened. No warning or nothing... except you loose the original file's makeup. In my opening question and observation, I should have said "save as template", so sorry for that... Of-course the work around is open the file and don't make any changes, then save as template, then modify the template. This little glitch costed me valuable time.
Thanks, Stanley |
| |
| |
| | | |
|
| | | | |
| | |
|