U4-7832 - Editing property alias chomps 1st character

Created by Chriztian Steinmeier 26 Jan 2016, 10:41:18 Updated by Claus Jensen 01 Feb 2016, 14:32:01

Relates to: U4-7772

While creating a property, in the "Property settings" dialog, I click the lock icon to change the alias. After unlocking, the alias is already selected so I can just start typing - but the 1st character I type is treated as DELETE, thus I get aliases like eader, ageImage and odyContent, instead of header, pageImage and bodyContent :-)

Umbraco 7.4.0-beta2, by the way.


Chriztian Steinmeier 26 Jan 2016, 10:48:21

Just tried unlocking and editing the property alias in the "Tab" view (i.e., not in the dialog) - same result. First keystroke just clears the field.

EDIT: Tried something else - at anytime when editing the alias, if you select all the text and type a new alias, the 1st character gets chomped. If you select a couple of characters and type another character to replace them with, the selected characters are deleted, and the cursor moved to the end - which looks like the problem reported in U4-7772 (?)

Mads Rasmussen 26 Jan 2016, 20:08:24

PR: https://github.com/umbraco/Umbraco-CMS/pull/1059

Mads Rasmussen 28 Jan 2016, 09:13:05

Reopened because I found issue with double data binding when entering property name

Mads Rasmussen 01 Feb 2016, 14:19:33

I have fixed the double data binding issue in this PR: https://github.com/umbraco/Umbraco-CMS/pull/1079

How to test:

  • Add new property to document type
  • Change the alias on the property to 1 from the tab overview (not from the property dialog)
  • Save and see invalid alias validation error
  • Open the property settings dialog
  • Change the alias to something valid
  • Close the dialog and save again
  • The form validation has been updated and the document type can be saved.

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.4.0

Due in version: 7.4.0

Sprint: Sprint 8

Story Points: