Skip to content

[Bug or Feature?] url_path attribute value is not populated for any product #9113

Closed
@MagePsycho

Description

@MagePsycho

Preconditions

  1. Magento CE 2.1.1
  2. PHP 5.6
  3. Nginx 1.9

Steps to reproduce

  1. Try to save(new or existing) any product
  2. Go to MySQL client and check for url_path value for that product as:
    SELECT * FROM catalog_product_entity_varchar WHERE attribute_id IN ( SELECT attribute_id FROM eav_attribute WHERE attribute_code IN ('url_path') AND entity_type_id = 4 ) AND entity_id = <product_id>
  3. There won't be any result.
    In fact there is no any value at all on product level for url_path.

Expected result

  1. In such case, url_path value should look like [product-url-key][product-suffix-from-setting]

Actual result

  1. Empty value for url_path for any product

Queries:

  • is this a bug or feature?
  • If it's a feature any reason behind not populating the url_path value for products?
  • is it safe to delete all the url_path values for migrated products?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CatalogIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions