Hi there! I'm using Symfony 1.2.8, which was installed using PEAR. It's installed on a CentOS machine, with Apache 2.2.8, PHP 5.2.9 and PostgreSQL 8.2.9.
I created a project, an app and some modules, using build-all with a defined schema, automatically extracted using build-schema, from a fully working database we built. Now, when I try to submit a form, I'm getting the following PropelException?: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "" I only see descriptions and solutions on the internet related to doctrine, not PDO/Propel... Nevertheless, I searched for some of those solutions, but all were correct, like the $primaryKey == null example, on the doctrine plugin, just for checking. Nothing solved it. If I try a manual insert on PostgreSQL console, with no ID ( instead of nextval), the same thing happens, but the DB has the sequence with nextval in default value and symfony/propel should not use for a primary key id. Something in Propel isn't sending the id as the nexval(sequence), just an empty string... I think this is an internal bug/problem, because in Symfony 1.1 the same thing works perfectly, and I've checked every 1.2 form tutorials to check any difference... Thanks for your help. :) --~--~---------~--~----~------------~-------~--~----~ 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] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
