No Code Attached Yet bug Webservices
avatar andyforrest
andyforrest
26 Aug 2023

Steps to reproduce the issue

Use the api endpoint api/index.php/v1/privacy/requests/export/{request_id} with the id of a privacy request using postman.

Expected result

JSON response containing data on the privacy export request

Actual result

<br />
<b>Warning</b>:  Attempt to read property "id" on array in <b>/Applications/MAMP/htdocs/joomla-cms/libraries/vendor/tobscure/json-api/src/AbstractSerializer.php</b> on line <b>38</b><br />
<br />
<b>Warning</b>:  Attempt to read property "id" on array in <b>/Applications/MAMP/htdocs/joomla-cms/libraries/vendor/tobscure/json-api/src/AbstractSerializer.php</b> on line <b>38</b><br />
{
    "links": {
        "self": "http://localhost:8888/joomla-cms/api/index.php/v1/privacy/requests/export/625"
    },
    "data": {
        "type": "export",
        "id": "",
        "attributes": [
            {
                "name": "user_action_logs",
                "description": "joomla_user_action_logs_data"
            },
            {
                "name": "consents",
                "description": "joomla_consent_data"
            },
            {
                "name": "user_contact",
                "description": "joomla_user_contact_data"
            },
            {
                "name": "contact_contact_custom_fields",
                "description": "joomla_contact_contact_custom_fields_data"
            },
            {
                "name": "user_content",
                "description": "joomla_user_content_data"
            },
            {
                "name": "content_article_custom_fields",
                "description": "joomla_content_article_custom_fields_data"
            },
            {
                "name": "user_messages",
                "description": "joomla_user_messages_data"
            },
            {
                "name": "users",
                "description": "joomla_users_data"
            },
            {
                "name": "user_notes",
                "description": "joomla_user_notes_data"
            },
            {
                "name": "user_profile",
                "description": "joomla_user_profile_data"
            },
            {
                "name": "users_user_custom_fields",
                "description": "joomla_users_user_custom_fields_data"
            }
        ]
    }
}

System information (as much as possible)

  • Macos
  • Php 8.2
  • Apache 2.0
avatar andyforrest andyforrest - open - 26 Aug 2023
avatar joomla-cms-bot joomla-cms-bot - change - 26 Aug 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Aug 2023
avatar alikon alikon - change - 30 Aug 2023
Labels Added: ?
avatar alikon alikon - labeled - 30 Aug 2023
avatar alikon
alikon - comment - 30 Aug 2023

confirmed

avatar Quy Quy - change - 1 Dec 2023
Labels Added: bug ?
Removed: ?
avatar Quy Quy - labeled - 1 Dec 2023
avatar alikon alikon - close - 31 Dec 2023
avatar alikon
alikon - comment - 31 Dec 2023

please test #42582

avatar alikon alikon - change - 31 Dec 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-12-31 09:38:49
Closed_By alikon
Labels Added: Webservices
Removed: ?

Add a Comment

Login with GitHub to post a comment