Doctrine 1
  1. Doctrine 1
  2. DC-908

Can't save Doctrine Expression AES_ENCRYPT into a utf8_general_ci field

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: Record
    • Labels:
      None
    • Environment:
      Win XP

      Description

      $membre = new Model_TMembre();
      $membre->password = new Doctrine_Expression("AES_ENCRYPT(\"".htmlspecialchars($password,ENT_QUOTES)."\",\""._MYSQL_CRYPT."\")");
      $membre->save();

      Doesn't works id password field is encoded into utf8_general_ci .

      Works fine id password field is encoded into latin1 .

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: