Page 1 of 1

Alias problem

Posted: Tue Nov 16, 2004 4:49 pm
by BamaRob
Since upgrading to 0.7.2, whenever I go to edit an existing content page that has an alias name with a hyphen/dash/minus ( - ) in it, I get
  • * Alias must be all letters and numbers[/list:u]

    Before 0.7.2, if the page title had a space in it, the space was replaced by a ( - ) in the alias. If I remove the the dash from the alias name, the page saves fine. I have a lot of pages that have a dash in their alias. Do I need to change them all, or can this be corrected in the code?

    Thanks,

    BR

Alias problem

Posted: Tue Nov 16, 2004 4:58 pm
by Ted
Shoot. That is most definatly a bug. I changed the code for detecting correct letters. Forgot to account for dashes and underscores. It'll be fixed in 0.7.3.

Alias problem

Posted: Tue Nov 16, 2004 5:45 pm
by calguy1000
Yeah, this bit me too.

Alias problem

Posted: Mon Jan 31, 2005 4:51 am
by iNSiPiD
wishy, can u tell me where the alias code hides in the DB?

I'm being told that "a page with that alias already exists" but the page was deleted long ago. It seems maybe the alias relationship to the page still exists?

Alias problem

Posted: Mon Jan 31, 2005 12:37 pm
by Ted
The check for alias is in lib/classes/class.content.inc.php starting about about line 1300. The function is CheckAliasError($alias).