(In reply to comment #40)
> With the help from the ubuntu bug report I think I finally have a point that
> looks wrong.
> 
> http://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx#174
> and following seem to be wrong for the MINIMAL_PROFILEDISCOVER case.
> 

Seems like this is the problem. The problem is that we add the absolute
profile path to the regPath which creates an invalid path and therefore
initializing nss fails.

This problems is only visible in distro builds and maybe MacOSX/Windows
builds if they use MINIMAL_PROFILEDISCOVER. (I'm quite sure that our
windows builds are affected)

Will post a fix to the ML for review after some more manual testing.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/919659

Title:
  Can't open/save document or spreadsheet with password, when mozilla
  profile has an absolute path

Status in LibreOffice Productivity Suite:
  Fix Released
Status in “libreoffice” package in Ubuntu:
  Fix Committed
Status in “libreoffice” package in Debian:
  Confirmed

Bug description:
   1) lsb_release rd
   Description: Ubuntu 11.10
   Release:     11.10
   
   2) apt-cache policy libreoffice-calc
   libreoffice-calc:
     Instalado: 1:3.4.5-0ubuntu1
     Candidato: 1:3.4.5-0ubuntu1
     Tabela de versão:
    *** 1:3.4.50ubuntu1 0
           500 http://br.archive.ubuntu.com/ubuntu/ oneiric-proposed/main amd64 
Packages
           100 /var/lib/dpkg/status
        1:3.4.40ubuntu1 0
           500 http://br.archive.ubuntu.com/ubuntu/ oneiric-updates/main amd64 
Packages
        1:3.4.33ubuntu2 0
           500 http://br.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
   
  3) What is expected to happen in LibreOffice Writer via the Terminal:
  cd ~/Desktop && wget 
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/919659/+attachment/2700639/+files/test.odt
 && lowriter nologo test.odt
    
  type in the password:
  password
    
  and the file opens successfully, as it does in 3.4.4.
    
  4) What happens instead is that the file does not open and a message pops up:
  LibreOffice 3.4
  The password is incorrect. The file cannot be opened.
    
  This problem is unreproducible in:
  lsb_release rd
  Description: Ubuntu precise (development branch)
  Release: 12.04

  apt cache policy libreoffice-writer
  libreoffice-writer:
    Installed: 1:3.5.0~beta2-2ubuntu4
    Candidate: 1:3.5.0~beta2-2ubuntu4
    Version table:
   *** 1:3.5.0~beta2-2ubuntu4 0
          500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

  == Regression details ==
  Discovered in version: 3.4.5-0ubuntu1
  Last known good version: 3.4.4-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/919659/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to