• Stephan Bergmann's avatar
    Work around premature disposing of PackageRegistryBackends · c9a27eb9
    Stephan Bergmann yazdı
    With ucbhelper::Content now requiring an XComponentContext during construction,
    calling "unopkg add" with an .oxt that requires license acceptance would lead to
    an assertion about a null XComponentContext, as doChecksForAddExtension calls
    the XPackage's checkPrerequisites -> checkLicnese -> getTextFromURL, which
    creates an ucbhelper::Content with getMyBackend()->getComponentContext(), but
    early release of the "tmp" manager would already have caused disposing of that
    backend, which clears m_xComponentContext.
    
    I assume this problem had always been lurking silently in the code.
    
    Change-Id: I9f59c612fe3831b2f6dd832ef2f0505b6590b8e0
    c9a27eb9
Adı
Son kayıt (commit)
Son güncelleme
..
app Loading commit data...
deployment Loading commit data...
inc Loading commit data...
migration Loading commit data...
offacc Loading commit data...
pkgchk/unopkg Loading commit data...
splash Loading commit data...