[digikam] [Bug 461790] New: Upload from Digikam 7.8.0 to piwigo 13.1.0 broken

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Nov 13 19:59:56 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=461790

            Bug ID: 461790
           Summary: Upload from Digikam 7.8.0 to piwigo 13.1.0 broken
    Classification: Applications
           Product: digikam
           Version: 7.8.0
          Platform: macOS (DMG)
                OS: macOS
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: Plugin-WebService-Piwigo
          Assignee: digikam-bugs-null at kde.org
          Reporter: sj_kde at m4x.org
                CC: frederic.coiffier at free.fr
  Target Milestone: ---

The response provided by piwigo function ws_categories_getList in
include/ws_function/pwg.categories.php is badly interpreted by Digikam's
"Upload to Piwigo" webservice: "Invalid response received from remote Piwigo"
(parseResponseListAlbums in
core/dplugins/generic/webservices/piwigo/piwigotalker.cpp).

Piwigo responses looks like:
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<categories>
<category id="215" ...>
</category>
</categories>
</rsp>

Digikam webservices logs are:
digikam.webservices: parseResponseLogin:  "<?xml version=\"1.0\"
encoding=\"utf-8\" ?>\n<rsp stat=\"ok\">\n1\n</rsp>"
digikam.webservices: parseResponseGetVersion:  "<?xml version=\"1.0\"
encoding=\"utf-8\" ?>\n<rsp stat=\"ok\">\n13.1.0\n</rsp>"
digikam.webservices: Version:  1301
digikam.webservices: foundResponse :  true
digikam.webservices: parseResponseListAlbums

cf https://github.com/Piwigo/Piwigo/issues/1786

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list