What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Does anyone know how to track down the culprit behind `duplicate key value violates unique constrain

UK5DS29L2
UK5DS29L2 Posts: 546 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

Does anyone know how to track down the culprit behind
duplicate key value violates unique constraint "spy_product_concrete_image_storage-unique-key"
in propel logs ? I cannot find exactly when is storage populated for this tabe

Comments

  • Ievgen Varava
    Ievgen Varava Sprykee Posts: 154 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    should be here? \Spryker\Zed\ProductImageStorage\Business\Storage\ProductConcreteImageStorageWriter::storeDataSet

  • Ievgen Varava
    Ievgen Varava Sprykee Posts: 154 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    basically it happens on publishing product images, I would check image data importer first

  • Ievgen Varava
    Ievgen Varava Sprykee Posts: 154 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    it might work fine for demo data, but needs some tweaks for real project situation