We have moved to GitHub Issues
You are viewing the read-only archive of Umbraco's issue tracker. To create new issues, please head over to GitHub Issues.
Make sure to read the blog posts announcing the move for more information.
Created by Phill Hodgkinson 25 Nov 2013, 22:11:07 Updated by Stephan 15 Jan 2014, 08:43:12
If you have a page node that is named with mixed case (i.e. a product called BoB) the url generated has a dash inserted before the next capital. It becomes /products/bo-b/ when it should be /products/bob/. This wouldn't be a big deal if umbraco let you edit the link (which I'm going to add or vote up as a requested feature, but that's another story).
Tested in Chrome and IE10. Create a new document and use a name that has mixed case.
@Stephen do you know if this is part of the new string helper? or is it something else?
No, must be the new string helper splitting things on "terms" ie on uppercase letters. Can be fixed easily. Will look at it.
what is the status on this?
Currently working on that one.
Cause was: for urls, we break terms on upper case, so "thisIs AnotherDocument" is first converted into [ "this", "Is", "Another", "Document" ] and then we concatenate all the terms with a separator, giving "this-is-another-document".
Fix: I'm changing the default config so that we don't break terms on uppercase, so the terms would be [ "thisIs", "AnotherDocument" ] giving "thisis-anotherdocument".
Would be amazing to get these out of the way for the 7.0.1 release today, not sure whether you'll have time or not ?
@Shan just email to Pier & Seb. Been working on it yesterday but I'm running late for today because I want to do it right. I'm almost there, really, but won't make it for noon. Feeling really sorry about it.
ah no worries, didn't realize you had chatted with them :)
Pushed 5aec753 in 6.2.0 and merged into 7.0.2, ready for testing.
Hey @Stephan, I'm just getting some stuff done for 6.2 - first issue I've found is that the code:
"child1".ToSafeAlias();
results in "child"
surely "child1" is a valid alias?
"child1" is a valid alias, but "1child" is not. So a digit is valid anywhere but in the first position. Obviously... something's wrong and I'm going to check right now.
Found it. Stupid me. Will commit soon.
Both 6.2 and 7.0.2 should be fine now.
@Stephen, should we close this?
Guess yes.
@Stephen so you will close it? I assume this fix is in 6.2 as well?
Yes. Ah -- want me to close it! OK.
Priority: Normal
Type: Bug
State: Fixed
Assignee:
Difficulty: Normal
Category:
Backwards Compatible: True
Fix Submitted:
Affected versions: 7.0.0, 6.1.6
Due in version: 6.2.0, 7.0.2
Sprint:
Story Points:
Cycle: