Skip to content

Rest API response "page_size" missing in M2.4.4 #35310

Open
@anvanza

Description

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”.

Metadata

Assignees

Labels

Area: APIsComponent: ApiUse with concrete module component label E.g. "Component: Api" + "Catalog"Issue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: PR in progressReported on 2.4.4Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions