[FLOW3-general] FLOW3-general Digest, Vol 37, Issue 23

Streitferd Erika streitferd_erika at yahoo.com
Tue Nov 27 23:41:43 CET 2012


Thank you very much Cedric!
This step was skipped in the tutorial after the "Kickstart Controllers" and it didn't came into my mind to try to upgrade my database.
Sorry for bothering you with dumb questions...

Have a nice day!
Erika




________________________________
 From: "flow3-general-request at lists.typo3.org" <flow3-general-request at lists.typo3.org>
To: flow3-general at lists.typo3.org 
Sent: Tuesday, November 27, 2012 1:00 PM
Subject: FLOW3-general Digest, Vol 37, Issue 23
 
Send FLOW3-general mailing list submissions to
    flow3-general at lists.typo3.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
or, via email, send a message with subject or body 'help' to
    flow3-general-request at lists.typo3.org

You can reach the person managing the list at
    flow3-general-owner at lists.typo3.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FLOW3-general digest..."


Today's Topics:

   1. issue on blog tutorial->Base table or view not found
      (Streitferd Erika)
   2.  Double Validation of Controller Arguments (Jeff Segars)
   3. Re: issue on blog tutorial->Base table or view not found
      (Cedric Ziel)


----------------------------------------------------------------------

Message: 1
Date: Mon, 26 Nov 2012 13:54:50 -0800 (PST)
From: Streitferd Erika <streitferd_erika at yahoo.com>
Subject: [FLOW3-general] issue on blog tutorial->Base table or view
    not found
To: "flow3-general at lists.typo3.org" <flow3-general at lists.typo3.org>
Message-ID:
    <mailman.9601.1353966907.598.flow3-general at lists.typo3.org>
Content-Type: text/plain; charset=us-ascii

Hello!

I followed the steps from the blog tutorial and on "Part II: Getting Started"->Kickstart I have tried to access my freshly created controllers, but when I try to access the "post" controller on this link: "http://localhost/blog/Web/index.php/TYPO3.Blog/Post", this error appears: 

"
#42S02: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'gettingstarted.typo3_blog_domain_model_post' doesn't exist (More information)

PDOException thrown in file
C:\xampp\htdocs\blog\Packages\Framework\Doctrine.DBAL\Classes\Connection.php in line 633."

Any idea? Should I create the "gettingstarted.typo3_blog_domain_model_post" table manually?


I would really appreciate your help!
Regards,
Erika


------------------------------

Message: 2
Date: Mon, 26 Nov 2012 16:26:48 -0600
From: Jeff Segars <jsegars at alumni.rice.edu>
Subject: [FLOW3-general]  Double Validation of Controller Arguments
To: flow3-general at lists.typo3.org
Message-ID: <mailman.1.1353968811.3005.flow3-general at lists.typo3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I'm running into a strange issue and was hoping for a little insight 
into whether I'm just missing something or it's actually a bug. The 
problem I'm seeing is occurring within a Neos plugin, but what I see so 
far looks to be Flow related rather than Neos.

I have a Person domain model in my package and a custom validator for 
that model. When I show validation errors on the editing form, any 
errors generated in my custom validator are appearing twice.

Here's what I'm seeing when digging into the code...

In 
\TYPO3\Flow\Mvc\Controller\ActionController->initializeActionMethodValidators(), 
the validatorResolver is used in two different places to come up with a 
list of validators.

In the first instance, buildMethodArgumentsValidatorConjunctions() finds 
my custom validator (see line 160 of 
\TYPO3\Flow\Validation\ValidatorResolver) and builds a 
ConjunctionValidator containing it (see line 160 of 
\TYPO3\Flow\Validation\ValidatorResolver).

A few lines later in ActionController, a call to 
getBaseValidatorConjunction() produces a similar ConjunctionValidator 
(see line 160 of \TYPO3\Flow\Validation\ValidatorResolver), which is 
added onto the ConjunctionValidator already in existence.

When the validation occurs, I get two error messages because the same 
validator is being added twice.

Is there something I'm missing on the config front that would avoid the 
validator being added twice or is it just a bug in need a fix?

Thanks!
Jeff


------------------------------

Message: 3
Date: Tue, 27 Nov 2012 00:13:57 +0100
From: Cedric Ziel <cedric at cedric-ziel.com>
Subject: Re: [FLOW3-general] issue on blog tutorial->Base table or
    view not found
To: flow3-general at lists.typo3.org
Message-ID:
    <mailman.9603.1353971638.598.flow3-general at lists.typo3.org>
Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes

Hi Erika,

    How did you upgrade the Database after editing your Domain Model?

    There are 2 ways to accomplish upgrading your Database:
    1. run ./flow doctrine:update
    2. run ./flow doctrine:migrationgenerate -> follow the instructions
given -> run ./flow doctrine:migrate

    Regards,
    Cedric
    ----- Nachricht von Streitferd Erika <streitferd_erika at yahoo.com> ---------
    ? ? ?Datum: Mon, 26 Nov 2012 13:54:50 -0800 (PST)
    ? ? ? ?Von: Streitferd Erika <streitferd_erika at yahoo.com>
    Antwort an: Streitferd Erika <streitferd_erika at yahoo.com>, General
discussion about FLOW3 <flow3-general at lists.typo3.org>
    ? ?Betreff: [FLOW3-general] issue on blog tutorial->Base table or view
not found
    ? ? ? ? An: "flow3-general at lists.typo3.org" <flow3-general at lists.typo3.org>
> Hello!
>
>   I followed the steps from the blog tutorial and on "Part II:  
> Getting Started"->Kickstart I have tried to access my freshly  
> created controllers, but when I try to access the "post" controller  
> on this link: "http://localhost/blog/Web/index.php/TYPO3.Blog/Post",  
> this error appears:
>
>   "
>   #42S02: SQLSTATE[42S02]: Base table or view not found: 1146 Table  
> 'gettingstarted.typo3_blog_domain_model_post' doesn't exist (More  
> information)
>
>   PDOException thrown in file
>    
> C:\xampp\htdocs\blog\Packages\Framework\Doctrine.DBAL\Classes\Connection.php  
> in line 633."
>
>   Any idea? Should I create the  
> "gettingstarted.typo3_blog_domain_model_post" table manually?
>
>
>   I would really appreciate your help!
>   Regards,
>   Erika
>   _______________________________________________
>   FLOW3-general mailing list
> FLOW3-general at lists.typo3.orghttp://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general

----- Ende der Nachricht von Streitferd Erika <streitferd_erika at yahoo.com>
-----
-- 
Cedric Volker Ziel
Internetdienstleistungen & EDV

Robert-Koch-Str. 40
06110 Halle (Saale)

Telefon: +49 (0) 345 / 213 79 532
Telefax: +49 (0) 1805 / 388 37 9447
Mobil: +49 (0) 151 / 253 44 284

Mail: info at cedric-ziel.com
Web: http://www.cedric-ziel.com
XING: http://www.xing.com/profile/Cedric_Ziel


------------------------------

_______________________________________________
FLOW3-general mailing list
FLOW3-general at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general

End of FLOW3-general Digest, Vol 37, Issue 23
*********************************************


More information about the FLOW3-general mailing list