jackalope/jackalope-doctrine-dbal — pull request #145 by lsmith77 (2013-10-06 00:35:55+00:00)
Title: [WIP] properly handle alias in query columns, correct handling of implicit mixin columns

```
There were 2 errors:

1) PHPCR\Tests\Query\QuerySql2OperationsTest::testQueryJoinReference
Undefined index: jcr:uuid

/Users/lsmith/htdocs/cmf-sandbox/vendor/jackalope/jackalope-doctrine-dbal/src/Jackalope/Transport/DoctrineDBAL/Client.php:1960
/Users/lsmith/htdocs/cmf-sandbox/vendor/jackalope/jackalope-doctrine-dbal/vendor/jackalope/jackalope/src/Jackalope/Query/Query.php:98
/Users/lsmith/htdocs/cmf-sandbox/vendor/jackalope/jackalope-doctrine-dbal/vendor/phpcr/phpcr-api-tests/tests/06_Query/QuerySql2OperationsTest.php:240

2) PHPCR\Tests\Query\RowTest::testGetValue
PHPCR\ItemNotFoundException: Column 'nt:folder.jcr:createdBy' not found

/Users/lsmith/htdocs/cmf-sandbox/vendor/jackalope/jackalope-doctrine-dbal/vendor/jackalope/jackalope/src/Jackalope/Query/Row.php:157
/Users/lsmith/htdocs/cmf-sandbox/vendor/jackalope/jackalope-doctrine-dbal/vendor/phpcr/phpcr-api-tests/tests/06_Query/RowTest.php:57

--

There were 5 failures:

1) PHPCR\Tests\Query\QueryResultsTest::testGetColumnNames
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
- 0 => 'nt:folder.jcr:created'
- 1 => 'nt:folder.jcr:createdBy'
- 2 => 'nt:folder.jcr:primaryType'
+ 0 => 'jcr:primaryType'
)

/Users/lsmith/htdocs/cmf-sandbox/vendor/jackalope/jackalope-doctrine-dbal/vendor/phpcr/phpcr-api-tests/tests/06_Query/QueryResultsTest.php:48

2) PHPCR\Tests\Query\QueryResultsTest::testIterateOverQueryResult
Failed asserting that 5 matches expected 15.

/Users/lsmith/htdocs/cmf-sandbox/vendor/jackalope/jackalope-doctrine-dbal/vendor/phpcr/phpcr-api-tests/tests/06_Query/QueryResultsTest.php:100

3) PHPCR\Tests\Query\RowIteratorTest::testIterator
Failed asserting that 1 matches expected 3.

/Users/lsmith/htdocs/cmf-sandbox/vendor/jackalope/jackalope-doctrine-dbal/vendor/phpcr/phpcr-api-tests/tests/06_Query/RowIteratorTest.php:28

4) PHPCR\Tests\Query\RowTest::testIterator
Failed asserting that 1 matches expected 3.

/Users/lsmith/htdocs/cmf-sandbox/vendor/jackalope/jackalope-doctrine-dbal/vendor/phpcr/phpcr-api-tests/tests/06_Query/RowTest.php:34

5) PHPCR\Tests\Query\RowTest::testGetValues
Failed asserting that 1 matches expected 3.

/Users/lsmith/htdocs/cmf-sandbox/vendor/jackalope/jackalope-doctrine-dbal/vendor/phpcr/phpcr-api-tests/tests/06_Query/RowTest.php:47

FAILURES!
Tests: 1346, Assertions: 8330, Failures: 5, Errors: 2, Incomplete: 14, Skipped: 147.
```