Skip to content

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

Open
@hostep

Description

@hostep

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions