Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: 1.6.5
Commits on Mar 5, 2012
  1. @willdurand
  2. @apinstein @willdurand

    [gh-152] Revert change that was made to postgres schema parsing that

    apinstein authored willdurand committed
    causes regressions and has no tests. Add tests for my case. I do not
    understand the case that the person who introduced the bug was trying to
    solve.
  3. @aamsellem @willdurand

    Fix #282 versionable behavior FK in generated object classes

    aamsellem authored willdurand committed
    Fix #282 by replacing foreign key references with PrimaryKey
  4. @willdurand

    Merge pull request #298 from Langwhich/master

    willdurand authored
    Fix for ticket #252
  5. @rncain @willdurand

    Fix MySQL quote issue for table options. Closes #301

    rncain authored willdurand committed
  6. @willdurand

    Merge pull request #291 from fzaninotto/remove_class_default

    willdurand authored
    Remove BasePeer::CLASS_DEFAULT constant.
  7. @fzaninotto
Commits on Feb 21, 2012
  1. @willdurand

    Merge pull request #297 from vworldat/patch-1

    willdurand authored
    Fix DTD for behaviors without parameters
  2. @willdurand

    Merge pull request #299 from havvg/master

    willdurand authored
    add a testcase for multiple HAVING conditions
  3. @havvg
Commits on Feb 20, 2012
  1. @tboerger
Commits on Feb 15, 2012
  1. @vworldat

    `<parameter />` tags inside behaviors are optional. The current schem…

    vworldat authored
    …a fails when including a behavior like `<behavior name="auto_add_pk" />`.
Commits on Feb 14, 2012
  1. @willdurand

    Merge pull request #295 from fzaninotto/versionable_namespace

    willdurand authored
    Add missing namespace declarations in versionable behavior.
  2. @fzaninotto
Commits on Feb 13, 2012
  1. @willdurand

    Merge pull request #287 from fzaninotto/findoneorcreate_exception

    willdurand authored
    Update the exception thrown by findOneOrCreate() when used with a join.
  2. @willdurand

    Merge pull request #288 from fzaninotto/select_paginate

    willdurand authored
    Add unit tests for paginate() used together with select()
  3. @willdurand

    Merge pull request #289 from fzaninotto/archivable_namespace

    willdurand authored
    Add missing namespace declaration in archivable behavior.
  4. @willdurand

    Merge pull request #290 from fzaninotto/diff_with_migrations

    willdurand authored
    Update diff task to fail when uncommitted migrations are found.
  5. @fzaninotto

    Remove BasePeer::CLASS_DEFAULT constant.

    fzaninotto authored
    This constant, generated by `PHP5PeerBuilder::addConstantsAndAttribute()`, is no longer in use
    now that autoloading works for models. Besides, it creates problems (see #183) and complexity
    in the code. Removing it is painless - all the tests are green.
  6. @fzaninotto
  7. @fzaninotto
  8. @fzaninotto
  9. @fzaninotto

    Update the exception thrown by findOneOrCreate() when used with a join.

    fzaninotto authored
    When using a join() (or a useXXXQuery()) on a query, and then terminating with
    findOneOrCreate(), Propel used to throw a non-explicit exception only in the case
    where there was no result found:
    
        PropelException: 'author.FIRST_NAME' could not be found in the field names
    		of type 'colName'. These are: Array
        ...
    
    The problem is that Propel cannot set the foreign key value, as the main
    query uses a join and not a subquery. So Propel *should* indeed throw an
    exception, but it should explain what to do more clearly:
    
        PropelException: findOneOrCreate() cannot be used on a query with a join,
    		because Propel cannot transform a SQL JOIN into a subquery.
    		You should split the query in two queries to avoid joins.
    
    This exception is now also thrown when the query has a result, to help spot
    the problem during development (and not in production).
    
    Fixes #261.
Commits on Feb 5, 2012
  1. @willdurand

    Merge pull request #279 from grandbora/fixSelectWithPeerConstant

    willdurand authored
    Fix issue #227 :  Small change in ModelCriteria, to make it work with peer constants
  2. @grandbora

    fixed and tested

    grandbora authored
Commits on Feb 3, 2012
  1. @willdurand

    correct way of checking if a formatter was set

    Gabriel Pillet authored willdurand committed
  2. @willdurand

    code standard

    Gabriel Pillet authored willdurand committed
  3. @willdurand

    fixing issue #248 allowing the use of custom PropelFormatter with select

    Gabriel Pillet authored willdurand committed
  4. @willdurand
  5. @mhitza @willdurand

    Extended the clear method of the generated Active Record objects so

    mhitza authored willdurand committed
    that when dealing with object/array columns, the _unserialized fields
    will be cleared as well.
    
    Bug related tests:
     GeneratedObjectArrayColumnTypeTest::
       testGetterDoesNotKeepValueBetweenTwoHydrationsWhenUsingOnDemandFormatter
    
     GeneratedObjectArrayColumnTypeTest::
       testGetterDoesNotKeepValueBetweenTwoHydrationsWhenUsingOnDemandFormatter
  6. @mhitza @willdurand

    Fixed test showing a warning of undefined key offsets because numeric…

    mhitza authored willdurand committed
    …ally
    
    indexed arrays after cast to objects cannot be accessed by numeric property.
  7. @mhitza @willdurand

    Added failing tests for object and array type columns, caused by object

    mhitza authored willdurand committed
    reuse via the PropelOnDemandFormatter.
Commits on Feb 2, 2012
  1. @willdurand

    Merge pull request #276 from havvg/patch-1

    willdurand authored
    make class targets selectable
Commits on Feb 1, 2012
  1. @havvg
  2. @havvg

    make class targets selectable

    havvg authored
Something went wrong with that request. Please try again.