Issue 45558

Summary: Templates with Keywords not showed in File - new - templates and documents dialog
Product: General Reporter: kami911
Component: uiAssignee: thorsten.martens
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P3 CC: andre.schnabel, flibby05, issues, josef.latt, matthias, nesshof, thorsten.ziehm, timar74
Version: 680m86Keywords: oooqa, regression
Target Milestone: OOo 2.0.4   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
OpenOffice.org template list vs. Fileslist
none
Test template #1
none
Test template #2 none

Description kami911 2005-03-20 12:42:34 UTC
I converted all of the hu project's templates into ooo 2.x form. The Draw
documents not converted at all in Documentum Converter Wizard. I did it manually
(Bugreport at ID 44863)

Another (bigger) problem is that not all of the converted (or saved) templates
show up in File - New - Templates and settings dialog. As I seen the problem
related to writer's document in my case (impress, draw  and calc show well)
I can add templates one by one to the list with (template) Manager.

Step by step:
1) Download

My template bundle for 1.x at:
http://hu.openoffice.org/files/documents/176/2453/Templates05.zip

They are converted to 2.x:
http://hu.openoffice.org/files/documents/176/2525/Templates2-05.zip

1,5) Exit from OO.o

2) Extract
Put the files into template folder.

3) Start Oo.o and navigate to File - New - Templates and Documents
Go to the Personal templates where this element should appear. The half of
bundle is not showed in this dialog (there is a problem mainly (or only) with
writer templates)

// The names could not the real names because I tested it under hu version of
ooo. I will backtrack they original names if you need //

Thanks,
KAMI
Comment 1 kami911 2005-03-20 12:46:46 UTC
problem
related to writer's document in my case

of course i mean template
Comment 2 kami911 2005-03-22 10:14:04 UTC
I tested with Old 1.x format. All element are visible in this panel. If I
convert templates (with wizard or by hand) then not all .ott (writers) document
appear.
Please check 
http://hu.openoffice.org/files/documents/176/2525/Templates2-05.zip
or
http://hu.openoffice.org/files/documents/176/2525/Templates2-06.zip
(i will update to 06 as soon as I can)

Other formats than .ott sems too be good...

KAMI
Comment 3 kami911 2005-03-22 10:18:07 UTC
One more comment: This issue not depend on temlate location...
OpenOffice.org 1.9.86\share\template path doesnt work like 
Application Data\OpenOffice.org1.9.86\user\template path...
Comment 4 kami911 2005-03-22 15:21:04 UTC
One Hungarian user confirmed this issue on B79 WXP...
He also noted something. There is not draw icon show in that panel, and the doc
típe is OTG-fájl, not OpenDocument-grafikasablon. I will check it in po files...
Comment 5 kami911 2005-03-22 15:23:19 UTC
sorry type


So I checked, but I couln't found "OTG-Fájl" string in po files...
Comment 6 kami911 2005-03-29 20:00:51 UTC
The last OTG-Fájl prom seems to be resolved in M89 B0 (by paveljanik) but the
main issue is still remain in this build...
I have updated my templates. The new link is ::

http://hu.openoffice.org/files/documents/176/2525/Templates2-07.zip

Please check it,
Thanks,
KAMI
Comment 7 michael.ruess 2005-04-01 09:48:45 UTC
framework issue.
Comment 8 kami911 2005-04-09 07:46:10 UTC
M91 HU on WinXPSP2

Using Templates2-07.zip

Here is an example:
Comment 9 kami911 2005-04-09 07:54:24 UTC
Created attachment 24855 [details]
OpenOffice.org template list vs. Fileslist
Comment 10 kami911 2005-04-09 09:02:02 UTC
I created a list about problematic templates:

Autokolcsonzes.ott
Auto_berbeadasi_megallapodas.ott
Beszelgetesi_jegyzet.ott
Bulletin_1.ott
Bulletin_2.ott
Bulletin_3.ott
Hazi_koltsegvetes.ots
Ingatlan-adasveteli_eloszerzodes.ott
Ingatlan-adasveteli_szerzodes.ott
Ingatlan-adasveteli_szerzodes_tarsashaz.ott
Irattarolo_16_3-1.ott
Irattarolo_16_3.ott
Irattarolo_16_5-1.ott
Irattarolo_16_5.ott
Kiadoi_szerzodes.ott
Nevjegykartya_alap.ott
Szoftver_felhasznalasi_szerzodes.ott

I can open it with double click, and it is working well to me...
But they didn't show up in File - New - Templates and settings dialog...
Comment 11 kami911 2005-04-09 09:05:07 UTC
I created a list about problematic templates:

Autokolcsonzes.ott
Auto_berbeadasi_megallapodas.ott
Beszelgetesi_jegyzet.ott
Bulletin_1.ott
Bulletin_2.ott
Bulletin_3.ott
Hazi_koltsegvetes.ots
Ingatlan-adasveteli_eloszerzodes.ott
Ingatlan-adasveteli_szerzodes.ott
Ingatlan-adasveteli_szerzodes_tarsashaz.ott
Irattarolo_16_3-1.ott
Irattarolo_16_3.ott
Irattarolo_16_5-1.ott
Irattarolo_16_5.ott
Kiadoi_szerzodes.ott
Nevjegykartya_alap.ott
Szoftver_felhasznalasi_szerzodes.ott

I can open it with double click, and it is working well to me...
But they didn't show up in File - New - Templates and settings dialog...
Comment 12 kami911 2005-04-13 12:00:52 UTC
I still can reproduce it under M91 ENG and M92 HUN...
Comment 13 kami911 2005-04-17 10:31:01 UTC
Can someone check this itrritating bug?
Comment 14 kami911 2005-04-21 23:52:26 UTC
Please set to confirmed with target 2.0.
Comment 15 thorsten.ziehm 2005-04-25 13:03:59 UTC
Hi Pawel,

are you the corrrect owner for Hungarian issues, or could you reasign it to the
correct owner?

Thanks
Comment 16 thorsten.ziehm 2005-04-25 13:04:50 UTC
add me on cc-list
Comment 17 kami911 2005-04-25 13:36:13 UTC
I think pjanik not the best owner of this issue. You may change the owner.
Thanks,
KAMI
Comment 18 pavel 2005-04-25 15:27:51 UTC
reassigning to kami_.
Comment 19 kami911 2005-04-25 16:13:58 UTC
aaaaaaaaaaaaaarghhhhhhhhhh

I am sure I am not a right person to solve this problem. I am reporter. Can
someon e be the owner of this issue. I tested with my templates, you should do
it, and confirme. Some users confirmed it in Hungarian channels.

Best regards,
KAMI
Comment 20 kami911 2005-04-25 20:30:29 UTC
Hello!
I made a test and tried to find the reason behind this issue. I found something
intresting.
If you fill the templates' keyword field with characters with accent like
(öüóőúéáűí) the File - New - Templates doesn't show up those files.
If you delete keyword field, the template will appear in File - New - Templates.
One problem in my logic is that If you remove chars with accent. This file is
still be hidden.
I hope this will help to solve this bug...
Comment 21 kami911 2005-04-25 20:34:02 UTC
We may found the roots of this issue. timar has same problem, he can reproduce it.
Comment 22 kami911 2005-04-25 20:35:06 UTC
.
Comment 23 kami911 2005-04-25 20:51:06 UTC
.
Comment 24 kami911 2005-04-27 12:33:23 UTC
Can it be new?
Comment 25 kami911 2005-05-14 06:43:44 UTC
I have set to NEW and adding one or two file for demonstrating...
Comment 26 kami911 2005-05-14 07:02:02 UTC
Created attachment 26130 [details]
Test template #1
Comment 27 kami911 2005-05-14 07:02:40 UTC
Created attachment 26131 [details]
Test template #2
Comment 28 kami911 2005-05-16 12:04:37 UTC
pjanik -> Can you check this issue?
Comment 29 pavel 2005-05-16 12:07:16 UTC
kami_: sorry i do not have time for it now.
Comment 30 thorsten.martens 2005-07-19 13:35:21 UTC
.
Comment 31 kami911 2006-02-09 21:57:05 UTC
Can someone fix it for 2.0.3?
Comment 32 andreschnabel 2006-02-12 11:52:24 UTC
we have the same problem with german templates and have been able to track this
down:


If a template has a keyword set - via 
File - Properties - Description - Keywords
it doesn't show up in the template dialog.


reset target and priority for reconsideration.

@kami:
the workaround should be obvious: remove the keywords
Comment 33 kami911 2006-02-12 16:19:50 UTC
andreschnabel: I know the right solution. :o) But the keyword field is absolutly
useless with this bug...
Comment 34 Regina Henschel 2006-03-25 17:52:39 UTC
*** Issue 63622 has been marked as a duplicate of this issue. ***
Comment 35 thorsten.martens 2006-03-29 08:01:42 UTC
TM-PB: Please have a look, thanks.
Comment 36 pb 2006-03-29 10:16:35 UTC
pb -> abi: please take over.
Instructions to reproduce:
- open Template and Documents dialog
- open a template for editing (button "Edit"; not "Open")
- open "File - Properties..."
- set a keyword on tabpage "Description"
- save template
- open Template and Documents dialog again
-> the template with the keyword is not shown.

While debugging I found out that the hierarchy ucb doesn't return this content.
Comment 37 pb 2006-03-29 10:28:56 UTC
pb: it was OK in OOo 1.1.6.
Comment 38 kai.sommerfeld 2006-05-02 10:49:19 UTC
KSO: Not enough time to fix this in the 2.0.3 timeframe. => 2.0.4
Comment 39 andreas.bille 2006-05-22 10:08:41 UTC
accepted
Comment 40 kai.sommerfeld 2006-06-20 16:41:46 UTC
Not a problem with the Hierarchy UCP. After saving the template, when opening
"Templates & Documents" dialog again, the template gets removed from
Hierarchy.xcu. That's why HCP does not retun the content.

openoffice/ucb> diff Hierarchy.xcu Hierarchy.xcu.bak
37c37,47
<         <node oor:name="Elegant%20Fax" oor:op="remove"/>
---
>         <node oor:name="Elegant%20Fax" oor:op="replace">
>          <prop oor:name="TargetURL" oor:type="xs:string">
>          
<value>$(baseinsturl)/share/template/en-US/officorr/faxclassic.ott</value>
>          </prop>
>          <prop oor:name="Title" oor:type="xs:string">
>           <value>Elegant Fax</value>
>          </prop>
>          <prop oor:name="Type" oor:type="xs:int">
>           <value>0</value>
>          </prop>
>         </node>

 The HCP never changes the content of this file by itself. The removal must be
triggered by one of the components that use the HCP (most probably the Template
Service).
Comment 41 mikhail.voytenko 2006-06-29 15:30:24 UTC
The problem was the document info reader service, that doesn't support the new
format completely. Thus the template was not correctly inserted into the cache.
The fix is to use the general solution that is also used for documents loading.
Comment 42 mikhail.voytenko 2006-07-11 09:03:04 UTC
MAV->TM: Please verify the issue.
Comment 43 thorsten.martens 2006-07-11 11:20:50 UTC
checked and verified in cws pathoptions01
Comment 44 thorsten.martens 2006-07-12 11:20:56 UTC
.
Comment 45 Olaf Felka 2006-07-13 07:52:07 UTC
*** Issue 67279 has been marked as a duplicate of this issue. ***
Comment 46 thorsten.martens 2006-10-17 13:00:46 UTC
checked in m188 -> OK !