Dear colleagues,
I've figured out that when I modify any attribute of a card, the references of that card are updated too. But new relations (a.k.a. references) lose all additional attribute values. In my case it was boolean or string attribute. There are only null values after update!
Is it a bug? I need old values in new relations
I use CMDBuild 2.3, 2.4
Thanks
Viktor
Dear Viktor,
do you mean that if you update any non-reference attribute, the existing reference attributes are update (creating a new relation) anyway?
And for answering to your question, assuming that you are updating the value of a reference attribute, the values of attributes of the relation are not maintained, this is how it works.
Best regards.
-- CMDBuild Team
Previously Viktor wrote:
Dear colleagues,
I've figured out that when I modify any attribute of a card, the references of that card are updated too. But new relations (a.k.a. references) lose all additional attribute values. In my case it was boolean or string attribute. There are only null values after update!
Is it a bug? I need old values in new relations
I use CMDBuild 2.3, 2.4
Thanks
Viktor
>> do you mean that if you update any non-reference attribute, the existing reference attributes are update (creating a new relation) anyway?
You are right. I update another one (non-reference).
But why has the reference being updated and what is the reason of value erasing?
If I am choosing some card by reference drop-down list I can't set relation attribute values, It's OK.
I can add a new relation using the relation tab and set the value. But it does not make sense to use referense attributes with such unstable data at all
We'll check and eventually fix the issue.
Best regards.
-- CMDBuild Team
Previously Viktor wrote:
>> do you mean that if you update any non-reference attribute, the existing reference attributes are update (creating a new relation) anyway?
You are right. I update another one (non-reference).
But why has the reference being updated and what is the reason of value erasing?
If I am choosing some card by reference drop-down list I can't set relation attribute values, It's OK.
I can add a new relation using the relation tab and set the value. But it does not make sense to use referense attributes with such unstable data at all