I’ve performed an upgrade of the CMDBuild application from version 3.4.4 to 4.1.0. After doing so, everything has worked correctly, and I still have all the databases and functionalities that I had in the previous version.
However, I’ve encountered a problem. When trying to update one of the cards in one of the classes through the application’s web interface, I get a “generic error.” Looking into it more deeply, I can see in the CMDBuild logs that there’s an error related to a DOMAIN-type field, where it seems that additional parameters with references are being sent in order to update the field correctly.
Checking at the network level, I’ve noticed that CMDBuild sends a PUT request to the API to perform the update, including all the fields filled in on the card form—whether they were actually modified or not. Among these parameters, I can see that in my case the System field (the DOMAIN field I mentioned earlier) is being updated, since it’s set as a required attribute in the table. Additionally, I see that _System_code and _System_description are also being included in the request sent to the API, which seems to be causing the error.
I’ve also tested the same request using Postman, to check if the issue only occurs through the web interface. In this case, it fails with the same error. After further testing, I found that if I remove the additional attributes _System_code and _System_description, the update works correctly.
Could you please tell me what’s happening? Is this a bug in the application? Or could it be something misconfigured in this DOMAIN field after performing the upgrade?
Thanks in advance.