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

catalog_url_rewrite_product_category table missing PK #9581

Closed
siliconalchemy opened this issue May 10, 2017 · 13 comments
Closed

catalog_url_rewrite_product_category table missing PK #9581

siliconalchemy opened this issue May 10, 2017 · 13 comments
Labels
Component: CatalogUrlRewrite Component: DB Fixed in 2.4.x The issue has been fixed in 2.4-develop branch Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: ready for confirmation Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: done Reported on 2.1.x Indicates original Magento version for the Issue report. 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.

Comments

@siliconalchemy
Copy link

siliconalchemy commented May 10, 2017

The catalog_url_rewrite_product_category table is missing a PK. Because of this, it cannot be replicated reliably in Galera based systems (eg. MariaDB, Percona XtradbCluster). It appears to be the only table without a PK. This is more of a problem with PXC 5.7 as it recommends enforcing strict mode which will actively break usage of this table.

Magento 2.1.5
Mysql: Percona XtraDBCluster 5.7

Preconditions

Magento 2.4-develop

Steps to reproduce

  1. Open database table catalog_url_rewrite_product_category
  2. Check if the table has a Primary Key

Expected result

The database table catalog_url_rewrite_product_category has Primary Key

Actual result

The database table catalog_url_rewrite_product_category doesn't have Primary Key
primary_key

@veloraven
Copy link
Contributor

@siliconalchemy please, format this issue according to the Issue reporting guidelines: with steps to reproduce, actual result and expected result.

@siliconalchemy
Copy link
Author

Did you read this? How much more specific do you want it to be? Never mind, you can leave your (buggy) project buggy (ier).

@korostii
Copy link
Contributor

Hi @veloraven, @magento-team,
The description seems quite extensive. Could you maybe pass this along to someone having some technical expertise in this field?

paveq added a commit to paveq/magento2 that referenced this issue Nov 26, 2019
@ihor-sviziev ihor-sviziev reopened this Feb 17, 2020
@magento-engcom-team magento-engcom-team added the Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed label Feb 17, 2020
@ghost ghost assigned paveq Feb 17, 2020
@ihor-sviziev
Copy link
Contributor

ihor-sviziev commented Feb 17, 2020

@engcom-Golf @engcom-Alfa could you double check if this issue still valid, as we're having bugfix for this issue in #25746?

@ghost ghost unassigned paveq Mar 12, 2020
@magento-engcom-team magento-engcom-team added this to Ready for QA 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 Grooming in Low Priority Backlog Sep 24, 2020
@sidolov sidolov added this to Ready for Confirmation in Issue Confirmation and Triage Board Oct 21, 2020
@ghost ghost removed this from Ready for QA in Community Backlog Oct 21, 2020
@ghost ghost removed this from Ready for Grooming in Low Priority Backlog Oct 21, 2020
@ghost ghost added Issue: ready for confirmation and removed Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed labels Oct 21, 2020
@stale
Copy link

stale bot commented Jan 5, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale issue label Jan 5, 2021
@siliconalchemy
Copy link
Author

Go away stalebot, this is still a valid issue.

@stale stale bot removed the stale issue label Jan 5, 2021
@engcom-Bravo engcom-Bravo self-assigned this Jan 6, 2021
@m2-assistant
Copy link

m2-assistant bot commented Jan 6, 2021

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

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Add label Issue: Confirmed once verification is complete.

  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-Bravo
Copy link
Contributor

Hello @siliconalchemy

Thank you for your report.

We Confirm that the issue is still valid on 2.4-develop, and we have added Precondition, Steps to reproduce, ER and AR to the description.

@engcom-Bravo engcom-Bravo added Reported on 2.1.x Indicates original Magento version for the Issue report. Component: DB Component: CatalogUrlRewrite 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. Priority: P2 A defect with this priority could have functionality issues which are not to expectations. labels Jan 6, 2021
@m2-community-project m2-community-project bot added this to Dev In Progress in High Priority Backlog Jan 6, 2021
@m2-community-project m2-community-project bot removed this from Ready for Confirmation in Issue Confirmation and Triage Board Jan 6, 2021
@engcom-Bravo engcom-Bravo added Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed and removed Progress: dev in progress labels Jan 6, 2021
@magento-engcom-team
Copy link
Contributor

✅ Confirmed by @engcom-Bravo
Thank you for verifying the issue. Based on the provided information internal tickets MC-40317 were created

Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@zakdma
Copy link
Contributor

zakdma commented Mar 16, 2021

This bug was fixed in scope of internal issue B2B-1663
ece2528

@zakdma
Copy link
Contributor

zakdma commented Mar 16, 2021

@siliconalchemy it fixed

@magento-engcom-team
Copy link
Contributor

Hi @siliconalchemy.

Thank you for your report and collaboration!

The related internal Jira ticket MC-40317 was closed as Fixed.

The fix will be available with the upcoming 2.4.3 release.

@ihor-sviziev
Copy link
Contributor

@zakdma @joanhe, please check the #33770 that was caused by the fix ece2528, maybe you could provide some workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: CatalogUrlRewrite Component: DB Fixed in 2.4.x The issue has been fixed in 2.4-develop branch Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: ready for confirmation Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: done Reported on 2.1.x Indicates original Magento version for the Issue report. 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.
Projects
Development

No branches or pull requests

9 participants