[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#429046: marked as done (openoffice.org: com.sun.star.ucb.SimpleFileAccess method getDateTimeModifed gives the datetime of a symlink and not of the target file)



Your message dated Thu, 16 May 2013 09:53:16 +0000
with message-id <E1Ucus8-0005SM-00@franck.debian.org>
and subject line Bug#706870: Removed package(s) from unstable
has caused the Debian Bug report #429046,
regarding openoffice.org: com.sun.star.ucb.SimpleFileAccess method getDateTimeModifed gives the datetime of a symlink and not of the target file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
429046: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=429046
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: openoffice.org
Version: 2.0.4.dfsg.2-7etch1
Severity: normal

I'm developing a macro in python, which lives in a Subversion working
copy. There is a symlink in ~/.openoffice.org2/user/Scripts/python that
has the real script as the target.

When I alter the script, OO does not notice unless I quit and reload it.

>From looking at /usr/lib/openoffice/program/pythonscript.py, it seems
that there is some logic that tries to reload a script if its file
modification date changes; in order to determine the modification date
of the script, com.sun.star.ucb.SimpleFileAcess.getDateTimeModified is
called.

I noticed today that changing the mtime of the script's symlink makes OO
reload the script. I used strace to confirm that getDateTimeModified is
trying to be too clever, and is calling lstat when it should just be
calling stat.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (540, 'stable'), (520, 'testing'), (510, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.21-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages openoffice.org depends on:
ii  openoffice.org-base  2.0.4.dfsg.2-7etch1 OpenOffice.org office suite - data
ii  openoffice.org-calc  2.0.4.dfsg.2-7etch1 OpenOffice.org office suite - spre
ii  openoffice.org-core  2.0.4.dfsg.2-7etch1 OpenOffice.org office suite archit
ii  openoffice.org-draw  2.0.4.dfsg.2-7etch1 OpenOffice.org office suite - draw
ii  openoffice.org-impre 2.0.4.dfsg.2-7etch1 OpenOffice.org office suite - pres
ii  openoffice.org-java- 2.0.4.dfsg.2-7etch1 OpenOffice.org office suite Java s
ii  openoffice.org-math  2.0.4.dfsg.2-7etch1 OpenOffice.org office suite - equa
ii  openoffice.org-write 2.0.4.dfsg.2-7etch1 OpenOffice.org office suite - word

openoffice.org recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 1:3.4.0~ooo340m1-7+rm

Dear submitter,

as the package openoffice.org has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/706870

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@debian.org.

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)

--- End Message ---

Reply to: