Export to GitHub

giix - issue #23

$transacted in method saveRelated (GxActiveRecord.php) is undefined


Posted on Jul 10, 2011 by Happy Hippo

What steps will reproduce the problem? 1. Generate some models and controllers/views with a MANY_MANY relation. 2. Edit a record with MANY_MANY relation and try to save it.

What is the expected output? Saving the record.

What do you see instead? $transacted in method saveRelated is undefined

What version of the product are you using? giix 1.9

What is your stack (operating system, web server, DBMS, PHP version)? Any relevant additional software? Linux (ArchLinux), nginx 1.0.4, PostgreSQL 9.0.4, PHP 5.3.6 yii 1.1.8

Please provide any additional information below. Just comment out two lines before every return false in this method. Rolback is done in the calling method (saveWithRelated) when saveRelated returns false.

Comment #1

Posted on Jul 10, 2011 by Grumpy Cat

Thanks, I will work on it.

Comment #2

Posted on Jul 10, 2011 by Grumpy Cat

Fixed by r167. Thanks!

Status: Fixed

Labels:
Type-Defect Priority-High