Developer forum

Forum » PIM » Bug? - Integer product category field shows default value when overwrites value 0 in sub groups

Bug? - Integer product category field shows default value when overwrites value 0 in sub groups

Barend Mosch
Reply

Hi!

I've been working with value inheritance with category fields when assigned to the highest level in the PIM hierarchy. May have found a bug.

Given an integer category field assigned to a PIM group with a certain default value. 


The expected behaviour for all subgroups/products is to inherit this value and be able to overwrite said value, this work for all values, except 0. I've noticed that value jumps back to the default value



But in the database the value 0 is still stored




Is there some hidden logic that sees 0 as an empty and therefore shows the default value?

Additional information:

  • 'Inherit fields from parent' -> checked
  • inheritance on product level works as intented
  • Checked with DW version 9.16.6

Thank you in advance & kind regards,

Barend Mosch, Bluedesk


Replies

 
Barend Mosch
Reply

Hi!

Is there an update on the above stated scenario?

I can provide more information about the problem if required

Thanks in advance!

Barend Mosch, Bluedesk

 
Søren Jensen Dynamicweb Employee
Søren Jensen
Reply

Hi Barend,

Sorry for late response ..

When inherit values on a Interger field, the "empty value" are = '0', and same with Text field, where "empty value" are empty field ..

And therefor, it is not possible to replace an inherit value with the value of "empty value"

Hope you can get around it in your setup

/Søren

 

 

You must be logged in to post in the forum