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

Detect missing url_path's of categories on a certain storeview #9

Open
hostep opened this issue Jun 29, 2020 · 0 comments
Open

Detect missing url_path's of categories on a certain storeview #9

hostep opened this issue Jun 29, 2020 · 0 comments

Comments

@hostep
Copy link
Member

hostep commented Jun 29, 2020

Just ran into an issue on a shop where the url_key for the category exists on a certain storeview, but the url_path is missing:

mysql> SELECT * FROM catalog_category_entity_varchar WHERE entity_id = 6677 ORDER BY attribute_id;
+----------+--------------+----------+-----------+------------------------------+
| value_id | attribute_id | store_id | entity_id | value                        |
+----------+--------------+----------+-----------+------------------------------+
|    33040 |           45 |        0 |      6677 | Pillendoosjes                |
|    37132 |           45 |        1 |      6677 | Pillendoosjes                |
|    35086 |           45 |        2 |      6677 | Piluliers                    |
|    32017 |           52 |        0 |      6677 | PRODUCTS                     |
|    34063 |          117 |        0 |      6677 | pillendoosjes                |
|    38155 |          117 |        1 |      6677 | pillendoosjes                |
|    36109 |          117 |        2 |      6677 | piluliers                    |
|    43785 |          118 |        0 |      6677 | thuiszorg-ehbo/pillendoosjes |
|    39594 |          118 |        1 |      6677 | thuiszorg-ehbo/pillendoosjes |
+----------+--------------+----------+-----------+------------------------------+
9 rows in set (0.00 sec)

(attribute id 117 is url_key and 118 is url_path, the url_path is missing on storeview with id 2)

We should try to detect and report this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant