Closed brideo closed 1 year ago
Hi @brideo. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
https://github.com/magento/magento2/pull/37836 - fixed and created a PR here
Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. @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://e57249666a8a1edd856c4d4b991e2333.instances-prod.magento-community.engineering Admin access: https://e57249666a8a1edd856c4d4b991e2333.instances-prod.magento-community.engineering/admin_9d5f Login: c4d6f8f3 Password: 0278c3d85036
Hi @brideo,
Thank you for reporting and collaboration.
Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.
Steps to reproduce
{ "entry": { "position": 9999, "media_type": "image", "label": "Some Product Label", "disabled": false, "types": [ "image", "thumbnail", "small_image" ], "file": "1234.jpeg", "content": { "base64_encoded_data": "image_data", "type": "image\/jpeg", "name": "1001110080394.jpeg" } } }
We have added image via REST API(name as Magento) and we are getting image name also could you please let us know if we are missing anything and also provide screenshots where exactly image name will be populated it will helps us to reproduce the issue.
Thanks.
when you send images it removes the name attribute.
https://patch-diff.githubusercontent.com/raw/magento/magento2/pull/37836.patch
See how before it creates an empty object, assigns an a sku, adds images then saves it?
@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://e57249666a8a1edd856c4d4b991e2333.instances-prod.magento-community.engineering Admin access: https://e57249666a8a1edd856c4d4b991e2333.instances-prod.magento-community.engineering/admin_4c59 Login: 23c951ec Password: f6f323258dbb
Hi @brideo,
Thanks for your update.
Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.
We have send the images using API
After sending the images we are able to get the name attribute.
kindly let us know still if we are missing anything.Please provide screenshots if possible it will help us to proceed further.
Could you please elaborate the steps to reproduce regarding this comment https://github.com/magento/magento2/issues/37835#issuecomment-1676553454
Thanks.
Hi @brideo,
Kindly provide latest update on this comment https://github.com/magento/magento2/issues/37835#issuecomment-1682195010 still you are working on this issue if you are able to reproduce the issue please elaborate the steps to reproduce.Please let us know still if you are facing any issue.
Thanks.
Hi @brideo,
We have noticed that this issue has not been updated since long time. Hence we assume that this issue is fixed now, so we are closing it. Please feel to raise a fresh ticket or reopen this ticket if you need more assistance on this.
Thanks.
hi @engcom-Bravo - I am still seeing this on 2.4.7-p2 but my patch is no longer working, how do I get a develop instance?
Preconditions and environment
Steps to reproduce
POST https://exmple.com/rest/V1/products/some-sku/media
{ "entry": { "position": 9999, "media_type": "image", "label": "Some Product Label", "disabled": false, "types": [ "image", "thumbnail", "small_image" ], "file": "1234.jpeg", "content": { "base64_encoded_data": "image_data", "type": "image\/jpeg", "name": "1001110080394.jpeg" } } }
Expected result
Actual result
Additional information
Replace the existing code within
Magento\Catalog\Model\Product\Gallery\GalleryManagement::create
:with
Release note
No response
Triage and priority