#1678: Doctrine_Data export bug
-----------------------------------+----------------------------------------
 Reporter:  quocbao                |       Owner:  jwage
     Type:  defect                 |      Status:  new  
 Priority:  minor                  |   Milestone:       
Component:  Attributes             |     Version:  1.0.3
 Keywords:                         |    Has_test:  0    
 Mystatus:  Pending Core Response  |   Has_patch:  0    
-----------------------------------+----------------------------------------
 Doctrine_Data_Export has problem with column alias. An example:


 {{{
 Setting:
   Setting_admin_lang: {  }
   Setting_cms_default_url: {  }
   Setting_lang: {  }
   Setting_sitename: {  }
   Setting_sitesologan: {  }
   Setting_theme: {  }
   Setting_timezone: {  }
   Setting_webmaster_email: {  }
 }}}

 In line 145, Doctrine/Data/Export.php

 {{{
 } else if ($record->getTable()->hasColumn($key)) {
 }}}

 should be

 {{{
 } else if ($record->getTable()->hasField($key)) {
 }}}

-- 
Ticket URL: <http://trac.doctrine-project.org/ticket/1678>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to