Bug 136753

Summary: editors/openoffice.org-3 fails to create proper profile paths
Product: Ports & Packages Reporter: Kris Moore <kris>
Component: Individual Port(s)Assignee: freebsd-openoffice (Nobody) <openoffice>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Kris Moore 2009-07-14 14:30:03 UTC
Found a bug in OO when trying to use extension template packages, but it may effect other extensions as well. Installing a template package such as one from Sun:

http://extensions.services.openoffice.org/project/TemplatePack_II

The actual installation seems to go just fine. However, when you go to use a new template, OO throws an error: 

/usr/home/kris/.openoffice.org/3r/uno_packages/cache/uno_packages/yTznki_/OOOP-templates-separated-en-US-2.6.0.2.oxt/template/en-US/forms/Confidentiality_Agreement.ott does not exist

When we dig deeper into this, we find a very similar path in the .openoffice.org folder:

/usr/home/kris/.openoffice.org/3/user/uno_packages/ <everything after this point is the same)


The only differences are 3 -> 3r, and user/uno_packages is becoming uno_packages.

Fix: 

We can fix the issue this way:

mkdir /home/kris/.openoffice.org/3r
ln -s /home/kris/.openoffice.org/3 /home/kris/.openoffice.org/3r
ln -s /home/kris/.openoffice.org/3/user/uno_packages /home/kris/.openoffice.org/3r/uno_packages

After creating the directory / symlink, the templates all work like a champ. 

This is obviously a workaround, but now that this is known, maybe somebody can figure out where in the OO code this path error is occuring.
How-To-Repeat: Simply install the template package mentioned above.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-07-14 14:30:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->openoffice

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2011-02-13 07:34:55 UTC
State Changed
From-To: open->closed

this report can be close because, these version no longer supported in 
FreeBSD ports.