[wp-trac] [WordPress Trac] #38785: Multiple attributes with same slug

WordPress Trac noreply at wordpress.org
Mon Nov 14 16:13:58 UTC 2016


#38785: Multiple attributes with same slug
------------------------------+-----------------------------
 Reporter:  Gabriel Winnberg  |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Taxonomy          |    Version:  4.6.1
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 Two separate attribute names (used for products in Woocommerce) have been
 designated the same slug. This was the result of two separate product
 imports using WP All Import.

 Unfortunately this is in a production environment and the problem has not
 occured on the development server. I cannot disable theme or other plugins
 and experiment with imports.

 In case it's related to escaping characters I mention the attributes, one
 has an apostrophe (ATTRIBUTE NAME -> SLUG):

 Payne's gray -> paynes-gray
 Paynes gray -> paynes-gray

 I believe the first row was imported first. The effect is that variant
 products belonging to the second attribute cannot be displayed. The system
 interprets them as out of stock.

 (For the curious, Payne's gray is a pigment mix.)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38785>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list