I did some digging and found the file that had the problem. I patched it by editing, but would have preferred that OO had permitted me to fix the problem though the UI.
The problem was in the file $HOME/.openoffice.org/3/user/registry/data/org/openoffice/ucb/Hierarchy.xcu. The removed template was there. Once I identified the culprit template, I was able to find it in the Template Organizer. I tried to remove it there, but only managed to crash OO. So I hacked the Hierarchy.xcu file and gave the missing template a pathname to an existent file. After restarting OO, I was able to use the Template Organizer to remove the unwanted template.
What struck me as buggy was that I could remove the template with the organizer only once the target file existed - and wasn't able to remove it otherwise.
Here's a sample of the the Hierarchy.xcu entry before my cleanup (not exactly the one I changed, but similar). I manually edited the "file:///" value to point to a file that existed:
Code: Select all
<node oor:name="Electronic%20letter%20template" oor:op="replace">
<prop oor:name="TargetURL" oor:type="xs:string">
<value>file:///home/shared/Templates/letterhead.ott</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value>Electronic letter template</value>
</prop>
<prop oor:name="Type" oor:type="xs:int">
<value>0</value>
</prop>
</node>
After removing the hacked template using the Template Organizer, I was left with:
Code: Select all
<node oor:name="Rob%20Robason%20Home%20Page" oor:op="remove"/>
Anyway, my situation is back to normal. Thanks for the tip on the profile - it gave me a place to start looking, and now it's repaired so I haven't lost my customizations.