Error saving attribute changes

Hi everyone.
There is a attribute in the data model that I cannot change. Everytime I try to make any changes (e.g., make it a required field, or add other options) it gives me the error message " Error saving attribute change. Please close the data model editor and reopen it". Once I close this window it gives me the "Error editing element. Please close and restart: null.

It seems to only be for this specific attribute. It is linked to a bunch of observations, so I cant just delete it and make a new one. I have restarted SMART and computer, and I am working with the latest version of SMART.
I have attached the last couple of pages of the log file for reference. Any ideas on how to fix this?
log.txt (181.2 KB)

Thanks,.

Hi Alex,

This looks like data-model corruption / lock conflict on a single attribute. SMART can’t write updates to that attribute record because it’s already referenced by live data and something in its XML definition or UUID linkage is inconsistent.

I would recommend creating a new attribute and disabling this one. For querying historic data you can add both attributes.

You could try to fix this by editing the data model xml in a text editor (make sure to back up your system before trying this):

Export the CA’s data model (.xml), locate the problematic attribute’s <attribute> block, and check for:

  • Duplicate UUIDs
  • Missing type or listType elements
  • Broken list reference (points to a non-existent <list>).
    Repair manually, re-import, and reopen SMART.