Hello!

I got this error while added new value on standrd form generated by
default.

execute : SELECT r.sprint_id AS r__sprint_id, r.sprint_name AS
r__sprint_name, r.sprint_start AS r__sprint_start, r.sprint_end AS
r__sprint_end, r.sprint_summary AS r__sprint_summary, r.created AS
r__created FROM rank_sprints r WHERE (r.sprint_id = ?) LIMIT 1 - ()

SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input
syntax for integer: ""



I guess this happened 'cause of serial ype of primary key but I'm not
sure.
Nevertheless here is yml of the table:

rank_sprints:
  columns:
    sprint_id:
      primary: true
      type: serial
    sprint_name:
      unique: true
      type: string(255)
      notnull: true
    sprint_start:
      type: date
      notnull: true
    sprint_end:
      type: date
      notnull: true
    sprint_summary:
      type: string
    created:
      default: 'now'
      type: timestamp
      notnull: true

And forms were generated by default as

php symfony doctrine:build --model
php symfony doctrine:build --forms
php symfony doctrine:build --sql
php symfony doctrine:insert-sql
php symfony doctrine:generate-module --with-show --non-verbose-
templates frontend sprins rank_sprints

If any one could help me why It is happened please!

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to