Hi, I am indeed using the 1.3RC1 (sandbox install). Could you give me a reference to the bug solution so I can check if it is already present?
-----Original Message----- From: Fabian Lange [mailto:[email protected]] Sent: Wednesday, November 18, 2009 16:29 To: [email protected] Subject: Re: [symfony-users] symfony 1.3 - propel build error Is that using the latest RC/SVN? I think there has been a bug, but this should be fixed. I checked my project and it works Fabian On Wed, Nov 18, 2009 at 2:38 PM, Daniel Kucharski <[email protected]> wrote: > Here you are: > > BaseBloggableHasTagPeer.php à http://pastebin.org/54843 > > Schema.yml à http://pastebin.org/54845 > > > > > > From: Alexandre SALOME [mailto:[email protected]] > Sent: Wednesday, November 18, 2009 13:07 > To: [email protected] > Subject: Re: [symfony-users] symfony 1.3 - propel build error > > > > Could you create a pastebin with the full BasePeer code, and one with your > model definition ? > > Thanks, > > Alexandre > > 2009/11/18 Daniel Kucharski <[email protected]> > > Hi, > > > > I am trying to port a symfony 1.2 application to 1.3. When regenerating the > model, I get following parse error below. It looks that something goes > wrong when the symfony behaviors code is added to the propel generated code > (a ‘}’ for closing the method doUpdate is missing). Anybody any idea how to > resolve this issue? > > > > D:\wamp\www\xerias_13>php symfony propel:build --all-classes > >>> schema converting "D:/wamp/www/xerias_13/config/schema.yml" to XML > >>> schema putting D:/wamp/www/xerias_13/config/generated-schema.xml > >>> propel Running "om" phing task > >>> file- D:/wamp/www/xerias_13/config/generated-schema.xml > >>> file- D:/wamp/www/xerias_13/config/generated-schema-transformed.xml > >>> autoload Resetting application autoloaders > >>> file- >>> D:/wamp/www/xerias_13/cache/fro.../config/config_autoload.yml.php > >>> propel generating form classes > > PHP Parse error: parse error, expecting `T_FUNCTION' in > D:\wamp\www\xerias_13\l > > ib\model\om\BaseBloggableHasTagPeer.php on line 1597 > > > > > > To be more specific, this is the context: > > > > $ret = BasePeer::doUpdate($selectCriteria, $criteria, $con); > > } > > // symfony_behaviors behavior > > foreach (sfMixer::getCallables('BaseBloggableHasTagPeer:doUpdate:post') > as $sf_hook) > > { > > call_user_func($sf_hook, 'BaseBloggableHasTagPeer', $values, $con, > $ret); > > } > > > > return $ret; > > // LINE 1597 > > > > /** > > * Method to DELETE all rows from the bloggable_has_tag > table. > > * > > * @return int The number of affected rows (if supported > by underlying database driver). > > */ > > public static function doDeleteAll($con = null) > > > > > > > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to [email protected]. > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=. > > > -- > Alexandre Salomé -- [email protected] > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to [email protected]. > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=. > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to [email protected]. > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=. > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
