Release Notes - Doctrine 1 - Version 1.2.2 - HTML format

Bug

  • [DC-139] - Versionable behavior not use the right connection
  • [DC-289] - Using MSSQL connection the find method for models does not work
  • [DC-300] - synchronizeWithArray deletes Entries in RefTable when updating related Entries
  • [DC-318] - Doctrine_Table::find(x) fails for odbc/mssql connection due to limit() clause
  • [DC-319] - getModified() returns object where ids are expected
  • [DC-320] - Doctrine_Record fails to correctly update columns named data (conflict with getData method)
  • [DC-323] - when inserting a record into sql server (via odbc) doctrine fails to get last inserted ID
  • [DC-332] - Doctrine_Migration_Diff doesn't work when plugin schemas are present but there is no app schema
  • [DC-334] - Doctrine_Migration_Diff relies sys_get_tmp_dir in a way that will break with mutliple projects running the command at once
  • [DC-343] - Doctrine_View_Exception is documented as "Doctrine_Validator_Exception"
  • [DC-350] - Problem with Doctrine_Record::link() where $this->$alias is NULL (including possible fix)
  • [DC-352] - Doctrine_RawSql/Caching fatal error
  • [DC-365] - softdelete documentation is outof date
  • [DC-366] - Error with tokenizer for JOINs (comments include proposed solutions)
  • [DC-374] - importing sqlite db with doctrine does not detect autoincrement fields
  • [DC-377] - Cannot delete a taggable record (Taggable Extension)
  • [DC-378] - Typo in documentation for Taggable Extension
  • [DC-380] - Sequence SQL is not generated when exporing sql for postgres - with patch
  • [DC-384] - Nested set API allows inconsistent trees to be created
  • [DC-385] - Behavior geographical generates latitude FLOAT(18, 2), longitude FLOAT(18, 2) - it's not exact
  • [DC-394] - Searchable behavior's batchUpdateIndex fails if a table has a composite primary key.
  • [DC-395] - sfYaml library included twice
  • [DC-397] - unlinking of associations with aliased local-/foreignKeys is broken
  • [DC-398] - PORTABILITY_EMPTY_TO_NULL doesn't do anything for statements
  • [DC-406] - more robust handling for "actAs: [Timstampable]" handling
  • [DC-408] - Schema generation on Oracle databases fails due to invalid/unexistant table names
  • [DC-410] - Email-validator doesn't work
  • [DC-411] - Doctrine::Inflector does not handle table names with dashes
  • [DC-413] - Validating Spanish Ñ produces "Notice"
  • [DC-414] - Sluggable template fails on case insensitive fields [solution]
  • [DC-419] - Sluggable and inheritance
  • [DC-425] - I18n - Can't create lang column as varchar(5)
  • [DC-428] - Bug on DropDB on Oracle. The sequence isn't not correct
  • [DC-434] - setCharset($charset) on mysql/pgsql connections does not set Doctrine_Core::ATTR_DEFAULT_TABLE_CHARSET
  • [DC-437] - Connection::query() can use wrong connection
  • [DC-441] - When using PearStyle model loading and a classPrefix, the Doctrine CLI will ignore any SQL operations if model_autoloading is set to conservative
  • [DC-458] - Doctrine_Validator_Ip fails on IPV6 IP addresses.
  • [DC-459] - Typo in Doctrine_Validator_Email
  • [DC-460] - Doctrine_Cache_Apc/Core changes in 1.2 cause instability and crashes
  • [DC-468] - Project directories that have underscores (ie my_project) in the name get replaced with slashes (my/project) when generating models
  • [DC-469] - getAccessors and getMutators shows notices if they are not set
  • [DC-472] - In the relatedExists method of the Doctrine_Record class the exception is incorrectly thrown imho
  • [DC-475] - generate-migrations-diff is producing bogus migrations (drops the whole database)
  • [DC-480] - Since 1.2, records can't have columns named "options" anymore
  • [DC-482] - $data passed to foreach is wrong
  • [DC-483] - Indentifiers are not quoted in queries build for Nested Relations (patch included)
  • [DC-487] - Worng docs: @return docs of some methods in Doctrine_Query_Abstract class are worng.
  • [DC-488] - Cannot parse table name including 'join'
  • [DC-493] - method bracketExplode when tablename contains "Join"
  • [DC-500] - Duplicate Index for foreign key(MySQL)
  • [DC-503] - Migrations task generates wrong diff for long table names
  • [DC-504] - toArray not using lazy loading
  • [DC-506] - Doctrine_Adapter_Statement_Oracle missing fetch statement in fetchAll()
  • [DC-508] - All but the first migrations fail with PostgreSQL [patch included]
  • [DC-510] - setColumnOption(s) doesn't update _identifier when setting column as primary (symfony 1.4.2)
  • [DC-512] - Wrong sorting of migration files
  • [DC-513] - Complex HAVING clause generates incorrect SQL in Doctrine_Query::getCountSqlQuery() and Doctrine_Query::getLimitSubquery() [patch included]
  • [DC-517] - [PATCH] copy() method ignores INDEXBY associations
  • [DC-521] - Empty records cannot be inserted on PostgreSQL with autoincrement identifiers
  • [DC-522] - Can not use charset and collate in a table basis when using global charset and collate in Doctrine_Manager
  • [DC-524] - Out Of Range in Template Geographical Calculation using Postgresql
  • [DC-529] - HYDRATE_SINGLE_SCALAR returns false for fetchOne() correct value for execute()
  • [DC-537] - Timestamp Validator splits on wrong character (from Trac #2018)
  • [DC-543] - Doctrine_Inflector::unaccent does not replace the norwegian characters æøå
  • [DC-545] - MSSQL Server: Inserting blank records throws exception / Invalid casting of bound query parameters in sub-selects.
  • [DC-549] - Doctrine_DataDict_Oracle TYPO
  • [DC-550] - Cannot update record from one large integer to another large integer (severe problem for 32bit systems, due to the low upper limit of the int data type)
  • [DC-555] - infinite recursion happens when saving models with circular reference
  • [DC-556] - Index name error
  • [DC-557] - Primary Key Error
  • [DC-561] - Doctrine autoloader tries to load class again and fails with fatal error - with fix
  • [DC-563] - Import/Pgsql: listTableRelations: bad use of strpos search composite foreign keys (patch provided)
  • [DC-565] - Versionable bugging when used with I18N
  • [DC-567] - RawSql: getCountSqlQuery does not work correctly with PostgreSQL (patch provided)
  • [DC-569] - Duplicate unique indexes on PostgreSQL
  • [DC-573] - Invalid SQL generated by Doctrine_Query::getLimitSubquery() when ordering by multiple columns
  • [DC-577] - Sluggable can not index slug if using a provider
  • [DC-579] - Doctrine_Record->_get() with $load === false generates E_NOTICE (patch)
  • [DC-592] - PHP Fatal error: Call to undefined method Doctrine_Connection_Oracle::getDeclaration() in ....\Doctrine\Export\Oracle.php on line 501
  • [DC-602] - Cardinality violation when searching phrase
  • [DC-605] - importSchema uses the connection name to identify the schema name
  • [DC-651] - [PATCH] Doctrine_Record::option('orderBy', ...) of join's right side being applied to refTable in m2m relationship
  • [DC-674] - NULL Dates are translated to '0000-00-00' after upgrading to 1.2.2
  • [DC-708] - Wrong definition for MySQL string primary column
  • [DC-717] - Default value for columns is generated wrong. THe default value becomes the result value in the schema files.
  • [DC-740] - issue with multiple connection handling
  • [DC-753] - doctrine generate-migrations-diff throws "No php or yml files found at path"
  • [DC-764] - Major->please.....Value of Primary key from sequence in Postgres table NOT being set (although sequence gets incremented)
  • [DC-769] - Variable type different for return value from Doctrine_Record->toArray() depending on whether the object is from a select, or a save.
  • [DC-795] - Can't mix Soft and Hard deletes. Fix with patch provided.
  • [DC-799] - Doctrine_Query::parseFunctionExpression() produces unexpected results if the expression contains a function
  • [DC-803] - Syntax error in MySQL migration to drop constraint (patch supplied)
  • [DC-895] - [I18n] Defining languages with locality (eg. en_GB) breaks functionality with SQL Integrity error - fix included
  • [DC-1006] - Custom geometric query error with orderBy

Improvement

  • [DC-104] - Fetching a subset of records from the view
  • [DC-345] - delete reference between OneToOne-Relation with synchronizeWithArray(), patch available
  • [DC-346] - synchronize records based on the primary keys, patch available
  • [DC-381] - Automatic sequence names - with patch
  • [DC-407] - Doctrine_Core::HYDRATE_SINGLE_SCALAR improvement
  • [DC-446] - Doctrine_Record_Generator::createClass with Doctrine_Record_Listener
  • [DC-492] - Nested set behavior not correctly working (Doctrine_Node_NestedSet::shiftRlValues) (Updated)
  • [DC-495] - Allow the end of line style to be set in the record builder
  • [DC-505] - Doctrine_Cache_Db can be much faster
  • [DC-511] - Inflector::classify is slow
  • [DC-518] - Generated *Table.class.php should contain a getInstance() method
  • [DC-546] - [PATCH] Missing $this->_table in Doctrine_Search when Index table not generated on the fly, throws Doctrine_Search_Exception' with message 'Invalid argument type. Expected instance of Doctrine_Table
  • [DC-559] - Doctrine_Core::loadModels() caching
  • [DC-564] - Postgresql: listSequences: relname badly "formatted" (patch provided)
  • [DC-568] - Make it possible to use microtime as the version value when using Versionable
  • [DC-570] - Make table classes suffix configurable (with patch)

New Feature

  • [DC-404] - Allow custom language field name in I18n Behavior
  • [DC-574] - Add support for __toString() in the generator
  • [DC-596] - make it possible to pass in builderOptions for templates

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.