Add a Field called "myfield1" -> Orchard proposes to use technical name "myfield"
Hit Save
Add a Field called "myfield2" -> Orchard proposes to use technical name "myfield-2"
Hit Save
Validation Error:
"The technical name contains invalid characters."
Imho this is a functional error. If the system proposes to name the technical field "myfield-2" itself and then in the next step doesn't accept it is kind of disappointing ;)
tip: I traced it back to the "StringExtensions.ToSafeName()" method where the class level "safe" regex does cater for numbers.
eriklenaerts created: https://orchard.codeplex.com/workitem/18448
(using rev 5987, branch 1.x)
Validation Error: "The technical name contains invalid characters."
Imho this is a functional error. If the system proposes to name the technical field "myfield-2" itself and then in the next step doesn't accept it is kind of disappointing ;)
tip: I traced it back to the "StringExtensions.ToSafeName()" method where the class level "safe" regex does cater for numbers.