Finalmente  ho capito il motivo.
quando mi dava errore avevo una tabella formata così:
    new_id
    new_date
    new_title
    new_text
internazionalizzavo la tabella per i campi new_title e new_text
funzionava tutto ma mi dava l'errore che ho riportato.
 
il problema sparisce solo se io cambio il campo da new_id a id
in questo modo funziona tutto regolarmente.
 
Grazie per l'interessamento e spero che questo messaggio serva a qualcuno.
ciao
 
 
Translated with google:
I finally understand why.
gave me error when I formed a table like this:
    new_id
    new_dir
    new_title
    new_text
internationalize the table for fields new_title and new_text
everything worked but gave me the error that I reported.

the problem goes away if I change the field from a id new_id
this way everything worked properly.

Thanks for your interest and hope that this message help someone.
hello

  _____  

Da: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
Per conto di Tiziano Formica
Inviato: mercoledì 30 dicembre 2009 10:49
A: symfony-users@googlegroups.com
Oggetto: [symfony-users] internazionalizzazione


Ciao a tutti,
stò cercando di internazionalizzare un sito con symfony4.1.
internazionalizzo la tabella ed è tutto ok, nell'admin se modifico tutto ok,
se inserisco un nuovo record mi da il seguente messaggio:
"

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'new_id' cannot
be null

"
ho cercato su google ma non riesco a trovare nulla in merito
 
mi sapete indicare??
 
Grazie.
 
Tradotto con google:
Translated with google:
Hello everyone,
I'm trying to internationalize a site with symfony4.1.
internationalize the table and everything is OK, if I edit in the Admin's
OK, if I insert a new record gives me the following message:
"
SQLSTATE [23000th]: Integrity constraint violation: 1048 Column 'new_id' can
not be null
"
I searched on google but I can not find anything about

show me you know?

Thank you.




__________ NOD32 4711 (20091223) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.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-us...@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.

--
You received this message because you are subscribed to the Google Groups "symfony users" group.
To post to this group, send email to symfony-us...@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