[DBAL-1275] Warning during explain for "START TRANSACTION" query Created: 03/Aug/15  Updated: 03/Aug/15  Resolved: 03/Aug/15

Status: Resolved
Project: Doctrine DBAL
Component/s: None
Affects Version/s: None
Fix Version/s: None
Security Level: All

Type: Bug Priority: Major
Reporter: Sergey Z Assignee: Marco Pivetta
Resolution: Cannot Reproduce Votes: 0
Labels: None


Str: In symfony standart edition got to web profiler and click explain for

Warning: ksort() expects parameter 1 to be array, null given in vendor/doctrine/dbal/lib/Doctrine/DBAL/SQLParserUtils.php on line 95
Warning: Invalid argument supplied for foreach() in /vendor/doctrine/dbal/lib/Doctrine/DBAL/SQLParserUtils.php on line 98
doctrine/annotations                     v1.2.6        Docblock Annotations Parser
doctrine/cache                           v1.4.1        Caching library offering an object-oriented API for many cache backends
doctrine/collections                     v1.3.0        Collections Abstraction library
doctrine/common                          v2.5.0        Common Library for Doctrine projects
doctrine/data-fixtures                   v1.1.1        Data Fixtures for all Doctrine Object Managers
doctrine/dbal                            v2.5.1        Database Abstraction Layer
doctrine/doctrine-bundle                 v1.4.0        Symfony DoctrineBundle
doctrine/doctrine-cache-bundle           v1.0.1        Symfony2 Bundle for Doctrine Cache
doctrine/doctrine-fixtures-bundle        v2.2.0        Symfony DoctrineFixturesBundle
doctrine/inflector                       v1.0.1        Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator                    1.0.5         A small, lightweight utility to instantiate objects in PHP without invoking their constr...
doctrine/lexer                           v1.0.1        Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
doctrine/orm                             v2.5.0        Object-Relational-Mapper for PHP

Comment by Marco Pivetta [ 03/Aug/15 ]

Cannot reproduce as-is.

Please reduce it to a reproducible isolated test case.

[DBAL-1228] [GH-854] DateInterval Type Created: 09/May/15  Updated: 29/Jul/15  Resolved: 29/Jul/15

Status: Closed
Project: Doctrine DBAL
Component/s: None
Affects Version/s: None
Fix Version/s: 2.6
Security Level: All

Type: Improvement Priority: Minor
Reporter: Doctrine Bot Assignee: Bill Schaller
Resolution: Fixed Votes: 0
Labels: dateinterval, datetime, mapping, types


This issue is created automatically through a Github pull request on behalf of v-bartusevicius:

Url: https://github.com/doctrine/dbal/pull/854


Added DateInterval Type to store/receive PHP DateInterval objects.
Internally DateInterval is converted to string to store in VARCHAR field.
For maximum performance full DateInterval format is used when converting to database value.

Comment by Valentas [ 04/Jun/15 ]

Any news on this feature?

Comment by Doctrine Bot [ 29/Jul/15 ]

A related Github Pull-Request [GH-854] was assigned:

Generated at Wed Aug 05 04:21:34 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.