[FLOW3-general] error following blog example in Flow3 guide
Thomas Plessis
t.plessis at totemnumerique.com
Fri Aug 10 17:33:32 CEST 2012
Hi,
You linkTitle property of your Post model seems to be NULL. So you need to put the following annotation with FLOW3 1.1 to allow NULL property in Doctrine :
@ORM\Column(nullable=true)
regards,
Thomas Plessis
Développeur multimédia
--
TOTEMnumerique
9, Place St Étienne
31000 Toulouse
T. 05 61 14 64 54
F. 05 61 14 64 55
Le 10 août 2012 à 17:05, indira Chavez a écrit :
> Hello,
> I was following the steps described in the Blog example. I was at this
> page: http://flow3.typo3.org/documentation/guide/partii/controller.html after
> changing the indexAction() method. However, when trying to call
> myurl/setup/index I get this error:
>
> *#23000: SQLSTATE[23000]: Integrity constraint violation: 1048 Column
> 'linktitle' cannot be null*
>
> Then I went back to Post.php and I notice I didn't include the annotations
> on top of the 'linkTitle' attribute. I included them (and even tried
> updating the schema again) but still getting the same error.
> Any ideas of what am I missing?
> Thanks in advance,
> Indira.
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list