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..

Hi everyone, when I import the product option prices. The data is imported to the database and also

Options
U02FK3P4BPT
U02FK3P4BPT Posts: 5 🧑🏻‍🚀 - Cadet

Hi everyone,
when I import the product option prices. The data is imported to the database and also the storage table is updated.
The data is deleted from redis and new data is not synchronized with redis, but the data is synchronized, when I run console sync:data
Any idea how I can snych the data without running console sync:data

Comments

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet
    Options

    maybe are missing the unpubish event for the table or u don't trigger the unpublish event in your import in case of deleting?

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet
    Options

    while data import the entity event behaviour are per default disabled..

  • U02FK3P4BPT
    U02FK3P4BPT Posts: 5 🧑🏻‍🚀 - Cadet
    Options

    Thank you, but I think the unpublish event is triggered, because the data is deleted form redis.

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet
    Options

    ok, then i don't understand your question/problem

    "The data is deleted from redis and new data is not synchronized with redis, but the data is synchronized, when I run...."

  • U02FK3P4BPT
    U02FK3P4BPT Posts: 5 🧑🏻‍🚀 - Cadet
    Options

    when I run this command console sync:data

  • U02FK3P4BPT
    U02FK3P4BPT Posts: 5 🧑🏻‍🚀 - Cadet
    Options

    But it ex expected, that the data should be synched without this command.

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet
    Options

    yes.. i saw u.. it is missing an event...
    u delete the data via data import or in backoffice?

  • U02FK3P4BPT
    U02FK3P4BPT Posts: 5 🧑🏻‍🚀 - Cadet
    Options

    No