[Flow] Oracle and DateTime > WAS: Validation > Exception instead of going back to newAction

Axel Wüstemann awu at qbus.de
Tue Dec 10 17:50:13 CET 2013


Hello,

I would try, as supposed, to define an own doctrine DateType datatype 
with german format to solve my validation problem, regarding to the mail 
of Alexander.

But I would need some additional hints, how to register the data type 
to doctrine within the Flow framework. Hopefully somebody would answer 
my question in the last mail. Maybe tomorrow, if all of the NEOS gang 
are sorbered up from the release party  ;=)

Beside of this, and suggested that this will solve the claimed 
validation problem: It comes to another point with authentification.

In TYPO3\Flow\Security\Account

there are two DateTime fields defined

/**
  * @var \DateTime
  */
protected $creationDate;

/**
  * @var \DateTime
  * @ORM\Column(nullable=true)
  */
protected $expirationDate;

With this I get:

Could not convert database value "01.10.13 17:32:02" to Doctrine Type 
datetime. Expected format: Y-m-d H:i:s

So I need to redeclare datetime instead of creating an own type to solve 
this. Would this be done the same way?

Thanks
Axel



More information about the Flow mailing list