Development

#3507 ([PATCH]: sfGuardDoctrinePlugin/trunk: wrong column in PluginsfGuardUserTable (is_Active))

You must first sign up to be able to contribute.

Ticket #3507 (new defect)

Opened 3 days ago

[PATCH]: sfGuardDoctrinePlugin/trunk: wrong column in PluginsfGuardUserTable (is_Active)

Reported by: thomas.s Assigned to: pookey
Priority: minor Milestone:
Component: sfGuardDoctrinePlugin Version: 1.1.0 RC1
Keywords: schema generator Cc:
Qualification: Unreviewed

Description

PluginsfGuardUserTable? in sfGuardDoctrinePlugin/trunk

is (column is_Active does not exist):

<?php
/**
 * This class has been auto-generated by the Doctrine ORM Framework
 */
class PluginsfGuardUserTable extends Doctrine_Table
{
  public static function retrieveByUsername($username, $isActive = true)
  {
    return Doctrine_Query::create()
            ->from('sfGuardUser u')
            ->where('u.username = ?', $username)
            ->addWhere('u.is_Active = ?', $isActive)
            ->fetchOne();
  }
}

should be:

<?php
/**
 * This class has been auto-generated by the Doctrine ORM Framework
 */
class PluginsfGuardUserTable extends Doctrine_Table
{
  public static function retrieveByUsername($username, $isActive = true)
  {
    return Doctrine_Query::create()
            ->from('sfGuardUser u')
            ->where('u.username = ?', $username)
            ->addWhere('u.is_active = ?', $isActive)
            ->fetchOne();
  }
}