[Libreoffice-bugs] [Bug 131710] New: Undocumented behavior of com.sun.star.sdb.DatabaseContext implementation of com.sun.star.uno.XNamingService

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 30 13:46:51 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131710

            Bug ID: 131710
           Summary: Undocumented behavior of
                    com.sun.star.sdb.DatabaseContext implementation of
                    com.sun.star.uno.XNamingService
           Product: LibreOffice
           Version: 6.4.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: olegshtch at yandex.ru

Documentation of the com.sun.star.uno.XNamingService declares registerObject
method automatically revokes previously registered object. Instead
DatabaseContext throws com.sun.star.container.ElementExistException with the
name if object.

Same way XNamingService's revokeObject method declares to do nothing if no
object was registered, but instead throws
com.sun.star.container.NoSuchElementException.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200330/eac5635a/attachment.htm>


More information about the Libreoffice-bugs mailing list