Open GoogleCodeExporter opened 8 years ago
I tested using latest SVN version and the problem does not occur. created the
tables as listed and used the zdmg to create the User class, it creates it
properly with no duplicate properties. please check with latest SVN if the
problem occurs and if it still does please provide mysql server version and php
version. I tested it on PHP 5.3.10 and on MYSQL Server 5.1.61 on Mac OS Lion
10.7.3.
Original comment by kfirufk@gmail.com
on 7 Feb 2012 at 9:09
Hi,
same issue for me whith zdmg-0.7rc1. (PHP Version 5.3.2 et mysql
5.1.37-community)
the model /Expertaffiliation.php have duplicate properties and method get and
set..
Original comment by led...@gmail.com
on 30 Jul 2012 at 4:55
Attachments:
I try to update on my windows (Vista):
php (php-5.4.5-Win32-VC9-x86) and mysql (mysql-5.5.25a-win32)
and on other computer : (Linux solid 2.6.31-23-generic #75-Ubuntu)
php ( 5.2.10.dfsg.1-2ubuntu6.10) and mysql (5.1.37-1ubuntu5.5)
---------------------------
/**
* Sets column grade
*
* @param int $data
* @return datatest_Model_Expertaffiliation
*/
public function setGrade($data)
{
$this->_Grade = $data;
return $this;
}
-----------[..]-------------
/**
* Sets parent relation Grade
*
* @param datatest_Model_Grade $data
* @return datatest_Model_Expertaffiliation
*/
public function setGrade(datatest_Model_Grade $data)
{
$this->_Grade = $data;
$primary_key = $data->getPrimaryKey();
if (is_array($primary_key)) {
$primary_key = $primary_key['idGrade'];
}
$this->setGrade($primary_key);
return $this;
}
--------------------------
Original comment by led...@gmail.com
on 31 Jul 2012 at 9:20
found issue :
The foreign key and table must not have same name...
:)
Original comment by led...@gmail.com
on 31 Jul 2012 at 12:59
Original issue reported on code.google.com by
andr...@stangl.rocks
on 25 Sep 2011 at 2:31Attachments: