Skip to content
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

Column not found: 1054 Unknown column 'at_visibility_default.value' #16471

Open
sandervall opened this issue Jun 30, 2018 · 6 comments
Open

Column not found: 1054 Unknown column 'at_visibility_default.value' #16471

sandervall opened this issue Jun 30, 2018 · 6 comments
Labels
Area: Catalog Area: Product Component: CatalogWidget help wanted Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: ready for dev Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Severity: S2 Major restrictions or short-term circumventions are required until a fix is available. Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it

Comments

@sandervall
Copy link

sandervall commented Jun 30, 2018

Preconditions

  1. Magento 2.2.5 Community
  2. PHP 7.2
  3. Enable developer mode(bin/magento deploy:mode:set developer).
  4. Rename magento_root_dir/pub/errors/local.xml.sample to magento_root_dir/pub/errors/local.xml

Steps to reproduce

  1. Navigate to admin area Catalog > Products.
  2. Create simple product SKU = 'simple', price = '3', quantity = '100', visibility = 'Catalog, Search'. Categories = 'cat1'(subcategory of default category).
  3. Create Products List widget with criteria "Visibility is Catalog, Search".
  4. Add widget to Main CMS page.
  5. Navigate to storefront home page.

Expected result

  1. The widget should display only products with visibility Catalog, Search

Actual result

  1. Error
    widget
  2. Generated SQL in plain text for debugging
    SELECT DISTINCT COUNT(DISTINCT e.entity_id) FROM catalog_product_entity AS e
    INNER JOIN catalog_category_product_index_store1 AS cat_index ON cat_index.product_id=e.entity_id AND cat_index.store_id='1' AND cat_index.visibility IN(2, 4) AND cat_index.category_id='2'
    INNER JOIN catalog_product_index_price AS price_index ON price_index.entity_id = e.entity_id AND price_index.website_id = '1' AND price_index.customer_group_id = 0 WHERE (((IFNULL(e.entity_id, 0) IN (SELECT catalog_category_product.product_id FROM catalog_category_product WHERE (category_id IN ('3')))) AND(IFNULL(e.entity_id, at_visibility_default.value) IN ('5', '6', '20', '21', '22', '23', '26', '33', '34', '35', '36', '37', '56', '57', '59', '60', '62', '63', '64', '65', '87', '109', '117', '136', '143', '150', '151', '152', '153', '155', '156', '157', '158', '159', '185')) ))
@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Jun 30, 2018
@magento-engcom-team
Copy link
Contributor

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

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

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-engcom-team give me {$VERSION} instance

where {$VERSION} is version tags (starting from 2.2.0+) or develop branches (2.2-develop +).
For more details, please, review the Magento Contributor Assistant documentation.

@sandervall do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • yes
  • no

@engcom-backlog-nickolas engcom-backlog-nickolas added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Jul 2, 2018
@engcom-backlog-nickolas
Copy link

Hello @sandervall, thank you for your report.
We've acknowledged the issue and added to our backlog.

@engcom-backlog-nickolas engcom-backlog-nickolas added Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Component: Catalog Component: CatalogWidget Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release and removed Component: Catalog labels Jul 2, 2018
@engcom-backlog-nickolas engcom-backlog-nickolas removed their assignment Jul 2, 2018
@cjj25
Copy link

cjj25 commented Jul 2, 2018

This is a quick fix that worked for me: #13881

@ghost ghost added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Jul 25, 2018
@bonsoni
Copy link

bonsoni commented May 6, 2019

We are having the similar issue

@magento-engcom-team magento-engcom-team added this to Ready for Dev in Community Backlog Mar 24, 2020
@sidolov sidolov added this to Ready for Grooming in Low Priority Backlog Sep 3, 2020
@sidolov sidolov added this to Ready for Development in Low Priority Backlog Sep 24, 2020
@ghost ghost removed this from Ready for Dev in Community Backlog Oct 20, 2020
@ghost ghost removed this from Ready for Development in Low Priority Backlog Oct 20, 2020
@ghost ghost removed Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development labels Oct 20, 2020
@sdzhepa sdzhepa added the Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it label Nov 6, 2020
@magento-engcom-team magento-engcom-team added Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Severity: S2 Major restrictions or short-term circumventions are required until a fix is available. labels Nov 30, 2020
@m2-community-project m2-community-project bot added this to Ready for Development in High Priority Backlog Nov 30, 2020
@engcom-Echo engcom-Echo added Area: Catalog Area: Product Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed and removed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Aug 25, 2021
@github-jira-sync-bot
Copy link

✅ Jira issue https://jira.corp.magento.com/browse/AC-1037 is successfully created for this GitHub issue.

@m2-assistant
Copy link

m2-assistant bot commented Aug 25, 2021

✅ Confirmed by @engcom-Echo. Thank you for verifying the issue.
Issue Available: @engcom-Echo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Catalog Area: Product Component: CatalogWidget help wanted Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: ready for dev Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Severity: S2 Major restrictions or short-term circumventions are required until a fix is available. Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Projects
High Priority Backlog
  
Ready for Development
Development

No branches or pull requests

8 participants