Skip to content

Category Update without "name" cannot be saved in scope "all" with REST API #22309

@cmuench

Description

@cmuench

Preconditions

  1. A category tree must be created.

Steps to reproduce

  1. Install demo data in Magento 2.3.x
  2. Try to save an existing category without the name attribute via REST API in scope "all".

Expected result

  1. Category will be saved.
  2. Sent attributes are saved in the database.

Actual result

1.Exception "Could not save category" with message The "Name" attribute value is empty. Set the attribute and try again.

PUT /rest/all/V1/categories/11 (throws error)

screenshot-2019-03-07-15-20-52-2019-03-22-18-05-38-2019-04-12-16-47-16

PUT /rest/default/V1/categories/11 (no error)

image

Metadata

Metadata

Labels

Component: CatalogFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions