[BUG] Appian Reverts Rich Text Item to previous version whenever it cannot find a CDT in its namespace

Whenever theres's a CDT not found in the namespace it has been given, appian reverts its components to the previous version automatically:


- CDT with propper namespacing

- CDT without propper namespacing (notice the upper case PEOPLEFUNCTION at line 2 and the alert the interface is showing already)

- When we save the file, then the code changes the components to the previous version (notice richTextItem_18r1 at line 7):

This behavior works with Buttons and RichTextItems as far as we found it 

CODE for replicating it

a!localVariables(
  local!a: 'type!{urn:appian:ps:PEOPLEFUNCTION}SecurityRoleMap'(),
  {
    a!richTextDisplayField(
      labelPosition: "COLLAPSED",
      value: {
        a!richTextItem(
          text: "Some text",
          color: "ACCENT",
          size: "MEDIUM_PLUS",
          style: "STRONG"
        )
      }
    )
  }
)

Special thanks to:  ,  ,  

  Discussion posts and replies are publicly visible