Skip to content

Web Editor does not remove alias attribute after removing a value #1577

@KVonGit

Description

@KVonGit

This was recently brought to my attention by DavyB:

When using the web editor, if we add something for an object's alias, then delete what we put there, this happens during play:

You can see an .

This is because we have defined the alias attribute, then when we delete the text all that does is save it as an empty string.

<!-- WEB EDITOR  (AFTER ADDING THEN REMOVING ALIAS)-->
    <object name="frob">
      <inherit name="editor_object" />
      <alias type="string"></alias>
    </object>

In the Windows app, Quest completely removes the alias attribute from the code when we delete the alias text from the editor in the same exact way.

<!-- WINDOWS DESKTOP EDITOR  (AFTER ADDING THEN REMOVING ALIAS)-->
    <object name="frob">
      <inherit name="editor_object" />
    </object>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions