[Libreoffice-bugs] [Bug 132098] New: Custom InteractionHandler

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 14 14:24:41 UTC 2020


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

            Bug ID: 132098
           Summary: Custom InteractionHandler
           Product: LibreOffice
           Version: 6.3.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: prrvchr at gmail.com

Created attachment 159557
  --> https://bugs.documentfoundation.org/attachment.cgi?id=159557&action=edit
IDL file for Execption of type com.sun.star.auth.OAuth2Request

I wan to implement a custom InteractionHandler who handle request of type 
com.sun.star.auth.OAuth2Request (see attached IDL file).

When I handle the request in my XInteractionHandler2 interface
handleInteractionRequest(), I cannot access the request by
interaction.getRequest() it throw an exception:
AttributeError: "args" on File "/usr/lib/python3/dist-packages/uno.py" at line
525 in "_uno_struct__setattr__"

As a workaround I must set an "args" property of type "sequence<any>" to the
IDL file of com.sun.star.auth.OAuth2Request Exception who is normally returned
by interaction.getRequest()...
(see attached IDL file)

Thanks

-- 
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/20200414/f5dce502/attachment.htm>


More information about the Libreoffice-bugs mailing list