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

Hello everyone! We are trying to add some new fields to category nodes and return them in Glue. Eve

UNTTWV4JK
UNTTWV4JK Posts: 63 🧑🏻‍🚀 - Cadet

Hello everyone!

We are trying to add some new fields to category nodes and return them in Glue. Everything worked fine until we started to set false values. When we set false as a value the field disappears from Glue.
Do you have any suggestion on how to solve this issue, as for us the null value/missing field is different from false?

Comments

  • Eugenia Poidenko
    Eugenia Poidenko Sprykee Posts: 145 🧑🏻‍🚀 - Cadet

    I think a bug like this exists already and is being fixed.

    It is cause by a wrong check in the code, because of which the “false” values does not get into the storage.

  • UNTTWV4JK
    UNTTWV4JK Posts: 63 🧑🏻‍🚀 - Cadet

    Same thing happens with 0 values. So, let’s assume we want to store signed integers with values between -10 and 10, when we set 0 it is removing the field from the storage.

  • UNTTWV4JK
    UNTTWV4JK Posts: 63 🧑🏻‍🚀 - Cadet

    Thank you for your reply. Looking forward for the bugfix.

  • Christian von Schassen
    Christian von Schassen Director Partner Succcess Management Sprykee Posts: 33 🧑🏻‍🚀 - Cadet

    Florin, feel free to create a support ticket at <mailto:support@spryker.com|support@spryker.com> or the support portal, so you get informed once the fix is being released

  • UNTTWV4JK
    UNTTWV4JK Posts: 63 🧑🏻‍🚀 - Cadet

    Thank you Cristian for your suggestion. We already fixed the issue at project level. We will probably remove our fix when we bring the package updates if the tests will pass.

  • Christian von Schassen
    Christian von Schassen Director Partner Succcess Management Sprykee Posts: 33 🧑🏻‍🚀 - Cadet
    edited May 2020

    Okay perfect, that's good to hear, Florin!