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.55k stars 9.32k forks source link

Error on refresh when creating new order in admin #36296

Closed zunsakai closed 2 years ago

zunsakai commented 2 years ago

Preconditions and environment

Steps to reproduce

  1. Install new magento, no sample data, no custom module.
  2. In the admin, create a new customer and a new store view
  3. Create a new order in admin > Select the customer just created.
  4. At the step select store view, refresh page (F5)

Expected result

Display list store view

Actual result

Show query error:

3 exception(s):
Exception #0 (Magento\Framework\DB\Adapter\TableNotFoundException): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento_db.catalog_category_product_index_store0' doesn't exist, query was: SELECT `main_table`.*, IFNULL(wishlist.name, 'Wish List') AS `wishlist_name` FROM `wishlist_item` AS `main_table`
 INNER JOIN `wishlist` ON main_table.wishlist_id = wishlist.wishlist_id
 INNER JOIN `catalog_category_product_index_store0` AS `cat_index` ON cat_index.product_id = main_table.product_id AND cat_index.category_id = '0' AND cat_index.visibility IN (3, 2, 4) WHERE (wishlist.customer_id = 1) AND (`main_table`.`store_id` IN('0'))

Additional information

No response

Release note

No response

Triage and priority

m2-assistant[bot] commented 2 years ago

Hi @kylepham103. Thank you for your report. To speed up processing of this issue, make sure that you provided the following information:

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

For more details, review the Magento Contributor Assistant documentation.

Add a comment to assign the issue: @magento I am working on this

To learn more about issue processing workflow, refer to the Code Contributions.


: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.

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

m2-assistant[bot] commented 2 years ago

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:

engcom-Bravo commented 2 years ago

@magento give me 2.4.4 instance

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

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

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

Hi @engcom-Bravo, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.

engcom-Bravo commented 2 years ago

Hi @kylepham103,

Thank you for reporting and collaboration.

Verified the issue on Magento 2.4-develop and 2.4.5 instances and the issue is not reproducible on both the instances.No Error on refresh when creating new order in admin.Kindly refer screenshots.

Steps to reproduce 1.Install new magento, no sample data, no custom module. 2.In the admin, create a new customer and a new store view 3.Create a new order in admin > Select the customer just created. 4.At the step select store view, refresh page (F5)

Screenshot 2022-10-14 at 5 07 05 PM Screenshot 2022-10-14 at 5 07 40 PM

Kindly recheck the issue on Magento 2.4-develop instance and check if any 3rd party extensions / modules enabled is causing this issue.

Thanks.

engcom-Bravo commented 2 years ago

Hi @kylepham103,

We have noticed that this issue has not been updated for a period of 14 Days.
Hence we assume that this issue is fixed now, so we are closing it. Please raise a fresh ticket or reopen this ticket if you need more assistance on this.

Thanks.