Permalink
Commits on Mar 5, 2012
  1. Fixed reset_tests.sh script

    willdurand committed Mar 5, 2012
  2. [gh-152] Revert change that was made to postgres schema parsing that

    apinstein committed with willdurand Nov 17, 2011
    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. Fix #282 versionable behavior FK in generated object classes

    aamsellem committed with willdurand Feb 6, 2012
    Fix #282 by replacing foreign key references with PrimaryKey
  4. Merge pull request #298 from Langwhich/master

    willdurand committed Mar 5, 2012
    Fix for ticket #252
  5. Merge pull request #291 from fzaninotto/remove_class_default

    willdurand committed Mar 5, 2012
    Remove BasePeer::CLASS_DEFAULT constant.
Commits on Feb 21, 2012
  1. Merge pull request #297 from vworldat/patch-1

    willdurand committed Feb 21, 2012
    Fix DTD for behaviors without parameters
  2. Merge pull request #299 from havvg/master

    willdurand committed Feb 21, 2012
    add a testcase for multiple HAVING conditions
Commits on Feb 20, 2012
  1. Fixes SQL diff command when there is a custom migration table name de…

    Thomas Boerger committed Feb 20, 2012
    …fined
Commits on Feb 15, 2012
  1. `<parameter />` tags inside behaviors are optional. The current schem…

    vworldat committed Feb 15, 2012
    …a fails when including a behavior like `<behavior name="auto_add_pk" />`.
Commits on Feb 14, 2012
  1. Merge pull request #295 from fzaninotto/versionable_namespace

    willdurand committed Feb 14, 2012
    Add missing namespace declarations in versionable behavior.
Commits on Feb 13, 2012
  1. Merge pull request #287 from fzaninotto/findoneorcreate_exception

    willdurand committed Feb 13, 2012
    Update the exception thrown by findOneOrCreate() when used with a join.
  2. Merge pull request #288 from fzaninotto/select_paginate

    willdurand committed Feb 13, 2012
    Add unit tests for paginate() used together with select()
  3. Merge pull request #289 from fzaninotto/archivable_namespace

    willdurand committed Feb 13, 2012
    Add missing namespace declaration in archivable behavior.
  4. Merge pull request #290 from fzaninotto/diff_with_migrations

    willdurand committed Feb 13, 2012
    Update diff task to fail when uncommitted migrations are found.
  5. Remove BasePeer::CLASS_DEFAULT constant.

    fzaninotto committed Feb 13, 2012
    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. Update the exception thrown by findOneOrCreate() when used with a join.

    fzaninotto committed Feb 13, 2012
    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. Merge pull request #279 from grandbora/fixSelectWithPeerConstant

    willdurand committed Feb 5, 2012
    Fix issue #227 :  Small change in ModelCriteria, to make it work with peer constants
  2. fixed and tested

    grandbora committed Feb 5, 2012
Commits on Feb 3, 2012
  1. correct way of checking if a formatter was set

    Gabriel Pillet committed with willdurand Jan 24, 2012
  2. code standard

    Gabriel Pillet committed with willdurand Jan 13, 2012
  3. Extended the clear method of the generated Active Record objects so

    mhitza committed with willdurand Feb 1, 2012
    that when dealing with object/array columns, the _unserialized fields
    will be cleared as well.
    
    Bug related tests:
     GeneratedObjectArrayColumnTypeTest::
       testGetterDoesNotKeepValueBetweenTwoHydrationsWhenUsingOnDemandFormatter
    
     GeneratedObjectArrayColumnTypeTest::
       testGetterDoesNotKeepValueBetweenTwoHydrationsWhenUsingOnDemandFormatter
  4. Fixed test showing a warning of undefined key offsets because numeric…

    mhitza committed with willdurand Feb 1, 2012
    …ally
    
    indexed arrays after cast to objects cannot be accessed by numeric property.
  5. Added failing tests for object and array type columns, caused by object

    mhitza committed with willdurand Jan 30, 2012
    reuse via the PropelOnDemandFormatter.
Commits on Feb 2, 2012
  1. Merge pull request #276 from havvg/patch-1

    willdurand committed Feb 2, 2012
    make class targets selectable
Commits on Feb 1, 2012
  1. add test for class targets build

    havvg committed Feb 1, 2012
  2. make class targets selectable

    havvg committed Feb 1, 2012