magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.49k stars 9.31k forks source link

FedEx 'Create Shipping Label' from Shipment not working #30234

Closed dphilipps closed 4 years ago

dphilipps commented 4 years ago

On a fresh install of Magento Open Source 2.4, when creating a FedEx shipping label from a shipment, the 'Create Packages' panel is displayed with an empty error message at the top of the screen. The 'Add products to package' button has no effect. Chrome console shows Javascript errors when the button is pressed. This is on a fresh install of Magento Opensource 2.4 built with composer including sample data however I have also reproduced it on another instance upgraded from 2.3.4 where this functionality was working as expected.

Preconditions (*)

  1. Magento Open Source 2.4
  2. FedEx Shipping Method Enabled

Steps to reproduce (*)

  1. Create an order with FedEx shipping method
  2. Create a shipment for the order (without selecting 'Create shipping label' at the bottom of the shipment page)
  3. View the shipment created above and click 'Create Shipping Label...' under 'Shipping and Tracking Information'

Expected result (*)

  1. 'Create Packages' panel should be displayed without an empty error message at the top of the page
  2. Clicking 'Add products to package' button should display grid of products in the shipment fedex working 2 3 4

Actual result (*)

  1. 'Create Packages' panel is displayed with an error icon (warning triangle) on a yellow background with no error text
  2. Clicking 'Add products to package' does nothing
  3. No error messages are logged in var/log/exception or other logs
  4. Javascript error thrown on every button click:

Uncaught TypeError: Cannot read property 'select' of undefined at getItemsForPack (packaging.js:385) at HTMLSpanElement.eventListenerSykK3td404 ((index):691) at HTMLButtonElement.listenedElementSykK3td404.onclick ((index):700)

fedex broken 2 4

  1. FedEx label cannot be created

I have reproduced this issue in production mode with static content correctly deployed as well as in developer mode.


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

m2-assistant[bot] commented 4 years ago

Hi @dphilipps. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

Please, add a comment to assign the issue: @magento I am working on this


: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, please join the Community Contributions Triage session to discuss the appropriate ticket.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

dphilipps commented 4 years ago

@magento give me 2.4-develop instance - upcoming 2.4.x release

magento-deployment-service[bot] commented 4 years ago

Hi @dphilipps. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 4 years ago

Hi @dphilipps, here is your Magento Instance: https://07258af464b104e71e149da65f5c62e4-2-4-develop.instances.magento-community.engineering Admin access: https://07258af464b104e71e149da65f5c62e4-2-4-develop.instances.magento-community.engineering/admin_73a7 Login: 1362a296 Password: e13c472c0d21

dphilipps commented 4 years ago

I can't reproduce the issue on 2.4-devel - it works correctly.

magento-deployment-service[bot] commented 4 years ago

Hi @dphilipps, unfortunately there is no ability to deploy 2.4 Magento instance. Please make sure you specify the correct Magento version/branch.

dphilipps commented 4 years ago

@magento give me 2.4.0 instance

magento-deployment-service[bot] commented 4 years ago

Hi @dphilipps. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 4 years ago

Hi @dphilipps, here is your Magento Instance: https://07258af464b104e71e149da65f5c62e4-2-4-0.instances.magento-community.engineering Admin access: https://07258af464b104e71e149da65f5c62e4-2-4-0.instances.magento-community.engineering/admin_6cdd Login: 20994df8 Password: 53d2c4f66d0e

dphilipps commented 4 years ago

Reproduced on 2.4.0

dphilipps commented 4 years ago

@magento I am working on this

m2-assistant[bot] commented 4 years ago

Hi @dphilipps! :wave: Thank you for collaboration. Only members of Community Contributors Team are allowed to be assigned to the issue. Please use @magento add to contributors team command to join Contributors team.

dphilipps commented 4 years ago

@magento add to contributors team

m2-assistant[bot] commented 4 years ago

Hi @dphilipps! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.

dphilipps commented 4 years ago

@magento I am working on this

dphilipps commented 4 years ago

Known issue ... https://support.magento.com/hc/en-us/articles/360046750171-Shipping-labels-creation-known-issue-in-Magento-2-4-0