propelorm/Propel2 — Issue #66: sql task fails on bookstore-packaged fixture
Author: fzaninotto
Created: 2011-11-21 17:06:30+00:00
State: open

The `reset_tests.sh` script fails (but continues) on the `sql` task of the `bookstore-packaged` fixture directory:

```
Fatal error: Call to a member function addTable() on a non-object in ~/projects/git/Propel2/src/Propel/Generator/Task/PropelSQLTask.php on line 255
```

Turns out one of the schemas has a different database and the `PropelSQLTask::packageDataModels()` method fails on this case.

Turns out the same build works flawlessly in Propel 1.6...