[Libreoffice-bugs] [Bug 49298] New: : LibreOffice-minimal-version dependencies does not work, no error text

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 30 14:17:03 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=49298

             Bug #: 49298
           Summary: : LibreOffice-minimal-version dependencies does not
                    work, no error text
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.3 RC2
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
 Status Whiteboard: BSA
          Severity: normal
          Priority: medium
         Component: Extensions
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: jumbo4444 at yahoo.fr


Created attachment 60786
  --> https://bugs.freedesktop.org/attachment.cgi?id=60786
Void extension with LibreOffice-minimal-version dependencies

Problem description: An extension with LibreOffice-minimal-version dependencies
get "unknown" error text during installation

Steps to reproduce:
1. Install attached extension

Current behavior: An error message says: 
The extension cannot be installed as the following
system dependencies are not fulfilled:
Unknown

Expected behavior: extension should installed or an error message saying that
minimal version of LibreOffice is not fulfilled.

Platform (if different from the browser): 

Browser: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0

Background: According to
https://wiki.documentfoundation.org/Development/Extension_Development
it is possible to add a LibreOffice-minimal-version dependencies. So my
description.xml contains
 <dependencies>
     <LibreOffice-minimal-version value="3.5" d:name="LibreOffice 3.5" />
 </dependencies>
with 
     xmlns:d="http://libreoffice.org/extensions/description/2011"
in the description header. I know nothing about XML, but I followed this
example in Japanese:
http://translate.google.com/translate?hl=fr&sl=ja&tl=en&u=http%3A%2F%2Foooug.jp%2Fsns%2F%3Fm%3Ddiary%26a%3Dpage_detail%26target_c_diary_id%3D832

I jumped into the code of the master and found in
core/tree/desktop/source/deployment/misc/dp_dependencies.cxx
lines 162, that getErrorText does not treat LibreOffice minimal version.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list