Bug 49378 - Setting the paths (Tools > Options) with an extension fails
Summary: Setting the paths (Tools > Options) with an extension fails
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
(earliest affected)
3.5.0 Beta0
Hardware: Other All
: medium major
Assignee: Not Assigned
Keywords: regression
Depends on:
Reported: 2012-05-02 06:04 UTC by Cor Nouws
Modified: 2013-12-04 22:24 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

sample extension (1.41 KB, application/vnd.openofficeorg.extension)
2012-05-02 06:04 UTC, Cor Nouws
working example (1.04 KB, application/vnd.openofficeorg.extension)
2012-05-03 01:09 UTC, Stephan Bergmann

Note You need to log in before you can comment on or make changes to this bug.
Description Cor Nouws 2012-05-02 06:04:51 UTC
Created attachment 60898 [details]
sample extension

I'll attach a sample extension, that sets the properties for paths  (Tools > Options)  as follows

 <node oor:name="Variables">
  <prop oor:name="Work">
 <node oor:name="Paths">
  <node oor:name="Temp">
   <prop oor:name="WritePath">
  <node oor:name="Template" oor:op="fuse">
   <prop oor:name="WritePath">

After installing and restarting the Path "Work" is empty, and the pathes "Temp" and "Template" are not modified (so nothing is added)

Using this extension in 3.4.x or 3.3.x does lead to the desired effect.

Note! when using the extension, make sure that the paths used exist on your system.

(  Note! the path "Temp" is not set, in any version of LibreOffice, also when this prop is added to the node Variables
  <prop oor:name="Temp">
Will submit a separate issue for that  )
Comment 1 Cor Nouws 2012-05-02 06:07:52 UTC
doesn't work in the oldes 3.5.0 I have installed
Comment 2 Stephan Bergmann 2012-05-03 01:09:13 UTC
Created attachment 60950 [details]
working example
Comment 3 Stephan Bergmann 2012-05-03 01:14:12 UTC
Cannot reproduce the problem.  With a recent (Linux) libreoffice-3-5-3 build, the attached example1.oxt changes "Tools - Options... - LibreOffice - Paths - My Documents" to "/foo/bar/work" (becomes active only after restart), and adds "/foo/bar/tmpl" as default path for new files to "Tools - Options... - LibreOffice - Paths - Templates".
Comment 4 Cor Nouws 2012-05-07 07:09:47 UTC
(In reply to comment #3)
> Cannot reproduce the problem.

For the record:
Where in 3.4 the path value needs to be
in 3.5 and master it turns out to be without the ~, so