Skip to content

[API REST] dataInterfaceName parameter not implemented in endpoint attributeMetadata/customer/custom and attributeMetadata/customerAdress/custom #35944

Open
@jdromerorajoy

Description

@jdromerorajoy

Preconditions and environment

  • Magento version 2.4.5 and older

Steps to reproduce

  1. Open Postman
  2. Send request V1/attributeMetadata/customer/custom with parameter dataInterfaceName (posibles values: \Magento\Customer\Api\Data\CustomerInterface::class or \Magento\Customer\Api\Data\AddressInterface::class)
  3. Send request V1/attributeMetadata/customerAddress/custom with parameter dataInterfaceName (posibles values: \Magento\Customer\Api\Data\CustomerInterface::class or \Magento\Customer\Api\Data\AddressInterface::class)

Expected result

Filter data by dataInterfaceName.

Actual result

No filter data.

Additional information

In the line 93 of the file vendor/magento/module-customer/Model/Metadata/CachedMetadata.php, can see that the parameter it isn't implemented.

image

But the method its filtering by $this->entityType (depending on the requested service).

If the parameter its deprecated, modify the API REST documentation, please.

image

image

Release note

No response

Triage and priority

  • 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

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: P3May be fixed according to the position in the backlog.Progress: dev in progressReported on 2.4.5Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions