magento2: Rest API response "page_size" missing in M2.4.4

Preconditions (*)

  1. Install a 2.4.3-p1

Steps to reproduce (*)

  1. On 2.4.3-p1 create a GET request to rest/all/V1/orders/?searchCriteria[filterGroups][0][filters][0][field]=status&searchCriteria[filterGroups][0][filters][0][value]=processing&searchCriteria[filterGroups][0][filters][0][conditionType]=eq&searchCriteria[currentPage]=1
  2. The response should return something like: Screenshot 2022-04-14 at 13 56 35
{
    "items": [.....],
    "search_criteria": {
        "filter_groups": [
            {
                "filters": [
                    {
                        "field": "status",
                        "value": "processing",
                        "condition_type": "eq"
                    }
                ]
            }
        ],
        "page_size": 20,
        "current_page": 1
    },
    "total_count": 20
}
  1. Try the same request on 2.4.4

Expected result (*)

  1. The metadata in the response should be the exact same on Magento 2.4.3-p1 and 2.4.4

Actual result (*)

  1. The page_size is missing Screenshot 2022-04-14 at 13 56 49
{
    "items": [.....],
    "search_criteria": {
        "filter_groups": [
            {
                "filters": [
                    {
                        "field": "status",
                        "value": "processing",
                        "condition_type": "eq"
                    }
                ]
            }
        ],
        "current_page": 1
    },
    "total_count": 20
}

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 6
  • Comments: 33 (2 by maintainers)

Commits related to this issue

Most upvoted comments

@magento I am working on this

Hi @anvanza, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.

Hi @anvanza, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.