Doctrine 1
  1. Doctrine 1
  2. DC-621

Doctrine_Inflector :: urlize changed behaviour

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.2.3
    • Component/s: Sluggable
    • Labels:
      None

      Description

      before when using the sluggable behavior the Doctrine_Inflector :: urlize function changed "catégorie 1" to "categorie-1"
      since doctrine 1.2.2 "catégorie 1" becomes "categorie-aa"

        Activity

        Hide
        Pavel Campr added a comment -

        I see a bug here:
        Inflector.php, line 221:
        {{ 'Å'=>'Aa','Æ'=>'Ae','Ø'=>'O','æ'=>'a','ø'=>'o','å','aa'}}

        probably, there is => missing and should be:

        {{ 'Å'=>'Aa','Æ'=>'Ae','Ø'=>'O','æ'=>'a','ø'=>'o','å'=>'aa'}}

        now, character '0' is replaced by 'å' and '1' is replaced by 'aa'

        Show
        Pavel Campr added a comment - I see a bug here: Inflector.php, line 221: {{ 'Å'=>'Aa','Æ'=>'Ae','Ø'=>'O','æ'=>'a','ø'=>'o','å','aa'}} probably, there is => missing and should be: {{ 'Å'=>'Aa','Æ'=>'Ae','Ø'=>'O','æ'=>'a','ø'=>'o','å'=>'aa'}} now, character '0' is replaced by 'å' and '1' is replaced by 'aa'

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Gunther Groenewege
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: