0.9.1 Change Log
0.9.1 Change Log
- [r3529] Fixed count bug in Doctrine_Pager that was wrong counting the total of results found. Added 3 new methods: Doctrine_Pager::getExecuted (checks if the Pager was already executed), Doctrine_Pager_Layout::execute (handy access to execute Pager query without having to access Doctrine_Pager instance) and Doctrine_Pager_Layout::processPage (processes the template of a given page and returns the parsed string)
- [r3534] backporting whereNotIn from trunk
- [r3536] Added a fix in toArray method to prevent mapped Doctrine_Record values to be displayed fully
- [r3538] Added different counter query support for Doctrine_Pager. Now it can use 2 different queries to paginate items. Added 4 new methods: setCountQuery, getCountQuery, setCountQueryParams and getCountQueryParams. If not defined a counter Doctrine_Query, the collector one is used. If no params were defined to be used in counter query, the ones passed by execute method are used
- [r3539] Fixed wrong call to _setExecuted in Pager
- [r3540] Fixed _adjustOffset in order to get it working after previous change in Pager
- [r3541] setting default templatse for the payer layout
- [r3542] Removed initial definition of setSelectedTemplate in Doctrine_Pager_layout in all branches. If no selected template is defined, the default assigned template is used. This prevent possible issue where the user defines default but not selected template (will use the defined one in class, what is wrong)
- [r3546] Fixed a bug where the hydration mode HYDRATE_NONE was not recognized when set through setHydrationMode
- [r3550] #740: fixed issue with hydrate when given an array containing null values. Previously, if you loaded a record from the database, then something changed that record in the database, and you loaded the same record again in the same script, any values that had been changed to null in the database would not be updated in the reloaded object.
- [r3554] Added Doctrine::HYDRATE_NONE example to "Fetch Only What You Need" subchapter of the "Improving performanc" chapter.
- [r3555] adding a currently un ticketed test case
- [r3556] updating unnamed test case
- [r3557] refs #741
- [r3558] refs #741 - updating the names of the model classes
- [r3561] Fix for situation where subclasses is not an array.
- [r3562] Added contains() method for checking whether an arbitrary piece of dql exists.
- [r3580] fixes #613
- [r3601] Fixed a bug in Doctrine_Node_nestedSet::getPath().
- [r3610] Merged 3586 into .9 branch.
- [r3623] Changed versions in Doctrine.php for branches.
- [r3625] Updated package
- [r3629] #749: added test case to demonstrate issue with column aggregation inheritance in 0.9 branch.
- [r3630] #749: fixed issue with hydrating rows of a result set when column aggregation inheritence is involved.
- [r3631] #749: fixed a problem with r3630: subclass inheritance map in parseData is now properly maintained for each alias.
- [r3639] improved exception message
- [r3641] fix to whereIn to prevent invalid SQL being generated when no params are passed
- [r3642] test showing that using count() with enums does not work.
- [r3646] a previous commit of mine broke method chaining
- [r3671] Added commit #3652 into 0.9 branch
- [r3672] Added changeset #3624 into 0.9 and 0.10 branches
- [r3673] Merged changeset #3621 into 0.9 and 0.10 branches. Fixed ws in trunk
- [r3674] Merged changeset #3609 and #3599 into 0.9 and 0.10 branches
- [r3675] Merged changeset #3593 into 0.9 and 0.10 branches
- [r3676] Merged changeset #3592 into 0.9 and 0.10 branches
- [r3677] Merged changeset #3590 into 0.9 and 0.10 branches (since we cannot change the API, I created a wrapper to the method name). No changes in tests and I also didnt drop the ownsOne and ownsMany support
- [r3678] Merged changeset #3589 into 0.9 and 0.10 branches
- [r3679] Merged changeset #3588 into 0.9 and 0.10 branches. Fixed ws in trunk
- [r3680] Merged changeset #3579 into 0.9 and 0.10 branches. This change does not break any test case, but it changes the behavior of Sluggable in both branches. TODO is to test this change in real life.
- [r3681] Merged changeset #3578 into 0.9 and 0.10 branches
- [r3682] Merged changeset #3577 into 0.9 and 0.10 branches
- [r3686] more descriptive exception message
- [r3687] fix to i18n template
- [r3688] fixing previous commits poor coding standards
- [r3691] - MFT (merge from trunk)
- [r3696] Ticket: 766,767
- [r3723] fixes #732 - yes, it's a nasty hack, but we have a new parser on the way
- [r3735] Fixed package.xml dependency.
- [r3736] Another package fix.
- [r3745] Added jwage as lead maintainer to allow pear packaging.
- [r3748] Updated.
- [r3749] Fixes to package.xml
- [r3751] Merged r3567 into 0.9 and 0.10 branches
- [r3753] Merged r3549 into 0.9 and 0.10 branches
- [r3757] relaxed a comparison in the hydrator. caused buggy behavior.
- [r3758] append multiple fields instead of setting to last value
- [r3764] Updated package from PEAR_PackageFileManager2
- [r3769] convertBoolean method was not working correctly for Pgsql, when integer value 0|1 was used as value for boolean type columns instead of true|false. (e.g. sfGuardDoctrinePlugin will use it in schema.yml) Added boolean columns to Export/PgsqlTestCase.php to check default attributes for columns.
- [r3774] Added new failing test case for ticket #786
- [r3782] Applied patch provided by ticket #788 in 0.9, 0.10 and trunk
- [r3783] Added NOT operator recognition in DQL (fixes #496)
- [r3785] Fix to allow sequences work in MySQL (fixes #702) in 0.9 branch
- [r3786] Removed is_numeric() check when array is passed to convertBoolean method.
- [r3787] Merging r3565 to 0.9 branch.
- [r3789] Small fix convertion of enum (fixes #788)
- [r3797] Added model loading to default sandbox configuration.
- [r3800] Merged new failing test case from 0.10
- [r3804] Updated package information for 0.9.1 and 0.10.1 releases.