Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | overwriting own templates unsuccessfully | ||||||
---|---|---|---|---|---|---|---|
Product: | General | Reporter: | amy2008 <amy2008> | ||||
Component: | code | Assignee: | thorsten.martens | ||||
Status: | CLOSED FIXED | QA Contact: | issues@framework <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | cno, issues, michael.ruess, ooo.redflag, peter.junge, rb.henschel, zhangxiaofei.ooo, zhuangyuelin | ||||
Version: | DEV300m37 | Keywords: | regression | ||||
Target Milestone: | OOo 3.2 | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Issue Depends on: | |||||||
Issue Blocks: | 72764, 84292 | ||||||
Attachments: |
|
Description
amy2008
2009-01-12 06:34:13 UTC
I guess these templates in Presentation Backgrounds or Presentation are Read- Only. Everyone, pls give me a hint Yes, the folder in the installation path is always readonly from inside a running OOo. Therefore it is not listened in the path in Tools > Options > OOo > Path. And from all of the other path you can enter there, only exact one has write ability. This is no OS setting, but defined in OOo. There is a spec: http://specs.openoffice.org/appwide/options_settings/OOoPaths.odt MRU->MAV: overwriting templates which the user generated by himself is not possible anymore. Save a template via "File.Template.Save" and try to overwrite the same way -> mentioned error message. worked fine in OOo 3.0. Indeed, there is no error message in OOo3.0, but for me it doesn't work "fine". 1. Start OOo, click on button 'Templates', choose your template, click on button 'Edit'. 2. Open an explorer of your operating system and go to the template folder. Notice the filename of the chosen template. 2. Change something on the template. 3. File > Templates > save. Use the same template name as before. Answer overwrite warning with Yes. 4. Wait till OOo is ready. Goto the explorer. Notice, that the existing filename is changed. 5. Close document. You get a "file not saved warning". In case you click "Discard", you have got a changed template, but it has a altered filename. That is not "fine". In case you click "Save", the current document is saved with the original filename and you have got two files for the same template. That is not "fine" too. I use OOo on WinXP. As I currently cannot see why this could be a showstopper I have changed the target. Please use the "releases" list in case you want to nominate this issue as a showstopper. mav->mru: Sorry the scenario is not quite clear, but it looks like a duplicate to issue 16712, or is the scenario, that you mean, different? MRU->MAV: no, not directly. Besides, I am not able to reproduce issue 16712 anymore... I am talking of a regression from OOO3.0.1 to dev-3.1. Following steps: New document, type some characters, File.Template.Save and assign a name, type some more characters, File.Template.Save and choose same as before -> described error message. This definitely worked in 3.0.1. hint: before saving again under the same name: change the field Title unde File|Properties > Description. No you can replace the existing template. See issue 68233 "No you can replace the existing template." should be "Now ..." (of course) mav->cornouws: Sorry, but the solution can not help, the title does not affect the functionality in this case. You are probably mixing this issue with another one, where a template with the same title is inserted. cornouws@mav sorry if I made a mistake. All I did was taking the comment from mru (desc8). His steps do lead to the described error message (working in DEV300m50) But when changing the documents Title before the second File|Template|Save, the error does not occur. I thought that was relevant. mav->cornouws: It is very good that you have written the results of your investigation. But according to my knowledge changing of the title should not affect functionality, this is why I have checked the workaround you have suggested on Windows DEV300m50, and it did not help. So I can not currently explain how can it help in your case ( except you provide a different template name in the Save dialog ). cornouws@mav: OK, now I cannot reproduce. Also not with a new template name. So I thought somewhere in the configuration three something changed. Or that it only would work with the first try. So I started with a new usre profile ... but could not reproduce my first test .. Until I did exactly the same steps: File|Template|Save > OK change file File|Template|Save > error change Title File|Template|Save > OK That inspired me for the next test: File|Template|Save > OK change file File|Template|Save > error change file (or not) File|Template|Save > OK So the *second attempt to overwrite does work*. Changing the documents Title is not what did the trick. HTH mav->cornouws: Ok, I think I can explain it now. The title has indeed nothing to do with the workaround: - create a new writer document - File/Templates/Save ( store as a new template ) - edit - File/Templates/Save ( store as the same template ) => failure - try one more time File/Templates/Save ( store as the same template ) => now it works No title change is necessary. It looks like the template stays locked after the first export and the first try to overwrite it unlocks it. So the information you have posted is indeed very helpful. Thanks. mav->cornouws: You were 37 seconds faster with your comment. :) @mav: Handicap of mine: often to fast ;-) But great we found the same thing and that it helps solving the issue. CU -Cor Created attachment 63834 [details]
The fix to this issue
Integrated in cws fwk116. mav->tm: Please verify the issue. . checked and verified in cws fwk116 -> OK ! (Fix fixes the 2. mentioned problem from mru) closed *** Issue 107749 has been marked as a duplicate of this issue. *** |