Bug 136753 - editors/openoffice.org-3 fails to create proper profile paths
Summary: editors/openoffice.org-3 fails to create proper profile paths
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-openoffice (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 14:30 UTC by Kris Moore
Modified: 2011-02-13 07:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 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 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.