P
Pope7
Here is the setup. We've been able to reproduce this bug on multiple (more
than 6) Vista PCs with Office 2007. I've not tried to reproduce it on
non-Vista systems.
Name: We're calling it the "Double Save Prompt" bug.
Effect: It destroys template documents in a non-retrievable fashion.
Here is the scenario. I am working in collaboration with another person to
produce a set of templates for a client. After a few rounds of changes, the
client stated that they could not save changes to templates. They sent the
changes to me, and I discovered the same problem. Here are the steps that
reveal the problem:
Please note: I've been able to reproduce this even after I removed all other
templates, quickstyle sheets, and themes.
1.) I received a new theme for the template.
2.) I received a new quickstyle sheet.
3.) I opened up the most recent version of the Word template.
4.) I applied the new theme.
5.) I loaded the quickstyle sheet.
6.) I went through the document and applied the new quickstyle sheets to the
lorem ipsum text of the template.
7.) I removed from the quickstyle sheets any of our custom styles that we
had deprecated
8.) I went to Word button -> Save as -> Save as Template
9.) The Save As dialog box appeared and prompted for a file name, I chose
Version 1A.dotx
10.) Another Save As dialog box appeared and prompted for a file name, but
this time the document type was for a Word 97 document, I chose Version 1A.doc
11.) With the saves complete, I exited Word.
12.) Once Word closes, the Version 1A.dotx is erased by Word from the system.
After this happened, I wondered what was going on. I made a backup of the
template and started the procedure over. This time, I saved as .dotx as the
first prompt and canceled the second prompt.
Result: the Version 1A.dotx was erased by Word when the program closed.
Again I tried, this time I saved the .dotx and the .doc. Before exiting, I
saved again and received a double prompt again. I saved the first set of
files as Version 1A.dotx, Version 1.doc, and the second set as Version
1B.dotx and Version 1B.doc. Before closing the document, I opened an Explorer
window and created copies of the 4 documents and placed them in a different
folder. Then I exited Word.
Result: on the desktop, all files were erased except the Version 1A.doc.
Word deleted Version 1A.dotx, Version 1B.dotx, Version 1B.doc. Note: If you
save your template over itself at any point in these processes, Word will
delete your original file.
I opened up the backup folder I'd made of the documents and opened each file.
Version 1A.dotx, Version 1B.dotx, Version 1B.doc were all empty files. Yes,
I had made an actual copy - and not just a shortcut - of each file. Only
Version 1A.doc had any document data in it.
Under the hood, it appears that in the "double save" bug Word encounters a
problem when writing to the file system. A new file structure is created and
upon exiting Word detects something is wrong with the file and deletes it
from the system without prompting the user. The deleted documents are not
retrievable from the recycle bin.
The work around is this:
1.) Word button -> Save As -> Save as template
2.) When prompted, save your file both times. This will give you a .dotx and
a .doc of the file
3.) Exit Word
4.) The .dotx will disappear
5.) Open the .doc file
6.) Word -> Save As -> Save as template
7.) When prompted, save your file. This time you will not receive a double
prompt.
9.) Exit word
10.) The new template file you created will still exist, and you will no
longer be double prompted during saves after any future changes.
The problem with this bug is very apparent: if the user saves over the
current template file, as soon as Word has been exited, the template will be
deleted from the system. The changes are not saved and the users files are
deleted.
I have a full set of the documents we used to recreate the error. Here is
the interesting thing: of the four template files created (all are variations
of a parent template), 3 are affected by this bug, and 1 is not.
I have a full set of all themes, quickstyles, and templates used to create
this bug. It should be possible to shared the documents with an MVP in order
to recreate the bug, but this might require an NDA due to the nature of the
client the templates are being constructed for.
than 6) Vista PCs with Office 2007. I've not tried to reproduce it on
non-Vista systems.
Name: We're calling it the "Double Save Prompt" bug.
Effect: It destroys template documents in a non-retrievable fashion.
Here is the scenario. I am working in collaboration with another person to
produce a set of templates for a client. After a few rounds of changes, the
client stated that they could not save changes to templates. They sent the
changes to me, and I discovered the same problem. Here are the steps that
reveal the problem:
Please note: I've been able to reproduce this even after I removed all other
templates, quickstyle sheets, and themes.
1.) I received a new theme for the template.
2.) I received a new quickstyle sheet.
3.) I opened up the most recent version of the Word template.
4.) I applied the new theme.
5.) I loaded the quickstyle sheet.
6.) I went through the document and applied the new quickstyle sheets to the
lorem ipsum text of the template.
7.) I removed from the quickstyle sheets any of our custom styles that we
had deprecated
8.) I went to Word button -> Save as -> Save as Template
9.) The Save As dialog box appeared and prompted for a file name, I chose
Version 1A.dotx
10.) Another Save As dialog box appeared and prompted for a file name, but
this time the document type was for a Word 97 document, I chose Version 1A.doc
11.) With the saves complete, I exited Word.
12.) Once Word closes, the Version 1A.dotx is erased by Word from the system.
After this happened, I wondered what was going on. I made a backup of the
template and started the procedure over. This time, I saved as .dotx as the
first prompt and canceled the second prompt.
Result: the Version 1A.dotx was erased by Word when the program closed.
Again I tried, this time I saved the .dotx and the .doc. Before exiting, I
saved again and received a double prompt again. I saved the first set of
files as Version 1A.dotx, Version 1.doc, and the second set as Version
1B.dotx and Version 1B.doc. Before closing the document, I opened an Explorer
window and created copies of the 4 documents and placed them in a different
folder. Then I exited Word.
Result: on the desktop, all files were erased except the Version 1A.doc.
Word deleted Version 1A.dotx, Version 1B.dotx, Version 1B.doc. Note: If you
save your template over itself at any point in these processes, Word will
delete your original file.
I opened up the backup folder I'd made of the documents and opened each file.
Version 1A.dotx, Version 1B.dotx, Version 1B.doc were all empty files. Yes,
I had made an actual copy - and not just a shortcut - of each file. Only
Version 1A.doc had any document data in it.
Under the hood, it appears that in the "double save" bug Word encounters a
problem when writing to the file system. A new file structure is created and
upon exiting Word detects something is wrong with the file and deletes it
from the system without prompting the user. The deleted documents are not
retrievable from the recycle bin.
The work around is this:
1.) Word button -> Save As -> Save as template
2.) When prompted, save your file both times. This will give you a .dotx and
a .doc of the file
3.) Exit Word
4.) The .dotx will disappear
5.) Open the .doc file
6.) Word -> Save As -> Save as template
7.) When prompted, save your file. This time you will not receive a double
prompt.
9.) Exit word
10.) The new template file you created will still exist, and you will no
longer be double prompted during saves after any future changes.
The problem with this bug is very apparent: if the user saves over the
current template file, as soon as Word has been exited, the template will be
deleted from the system. The changes are not saved and the users files are
deleted.
I have a full set of the documents we used to recreate the error. Here is
the interesting thing: of the four template files created (all are variations
of a parent template), 3 are affected by this bug, and 1 is not.
I have a full set of all themes, quickstyles, and templates used to create
this bug. It should be possible to shared the documents with an MVP in order
to recreate the bug, but this might require an NDA due to the nature of the
client the templates are being constructed for.