-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Property "children" does not have setter in class Magento\Catalog\Api\Data\CategoryInterface #10088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting this - internal ticket MAGETWO-70400 has been created to track this issue. You really shouldn't be setting the "children" to 1, as that ID is usually reserved for the root catalog, but other values didn't work for me either, even when specifying "position" and "level" fields. |
The value was there just so the field "children" is not empty because that is triggering the error. |
@diwipl, thank you for your report. |
Hi @devamitbera. Thank you for working on this issue.
|
Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Once all required labels are present, please add |
Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Once all required labels are present, please add |
✅ Jira issue https://jira.corp.magento.com/browse/AC-994 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Bravo. Thank you for verifying the issue. |
❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.magento.com/browse/AC-994 |
1 similar comment
❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.magento.com/browse/AC-994 |
@magento give me 2.4-develop instance |
Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Bravo, here is your Magento Instance: https://e252ffde96c0c082564fe7548c4a9ae2.instances-prod.magento-community.engineering |
As the issue is quite old, we tried to verify this on latest 2.4-develop, but it is not reproducible. Hence closing this issue. |
"children" field should not be included in documentation ( http://devdocs.magento.com/swagger/index_21.html ) of possible body of POST /V1/categories in catalogCategoryRepositoryV1 or it should be ignored in webservice itself.
The same applies to documentation of body of PUT /V1/categories/{id} webservice.
Preconditions
Steps to reproduce
Expected result
Actual result
Exception log:
The text was updated successfully, but these errors were encountered: