Log message #896563

# At Username Text
# Jul 17th 2009, 15:19 markstory moar fixtures!
# Jul 17th 2009, 15:18 alkemann cake is greedy
# Jul 17th 2009, 15:18 markstory etc.
# Jul 17th 2009, 15:18 markstory and all the tables that are joined to those models
# Jul 17th 2009, 15:18 markstory it needs all the tables that are joined to tag too.
# Jul 17th 2009, 15:18 markstory cake needs more.
# Jul 17th 2009, 15:18 markstory you needed.
# Jul 17th 2009, 15:18 alkemann it was all i needed
# Jul 17th 2009, 15:18 markstory that is all that gets imported.
# Jul 17th 2009, 15:18 markstory you are only loading one fixture.
# Jul 17th 2009, 15:17 markstory and more to do with var $fixtures = array('app.tag');
# Jul 17th 2009, 15:17 markstory it has less to do with baking
# Jul 17th 2009, 15:17 alkemann cake bake fixtures all ?
# Jul 17th 2009, 15:16 markstory that could be linked to Tag
# Jul 17th 2009, 15:16 alkemann unless it's phally's access component thats very noisy
# Jul 17th 2009, 15:16 Phally alkemann: you might get sql errors, since it (still) uses a different schema
# Jul 17th 2009, 15:16 markstory so you need _all_ the fixtures
# Jul 17th 2009, 15:16 markstory well you get full model chains
# Jul 17th 2009, 15:16 alkemann markstory: no.. i assume because Article does
# Jul 17th 2009, 15:15 alkemann doesnt help
# Jul 17th 2009, 15:15 markstory alkemann: does tag join to user?
# Jul 17th 2009, 15:15 alkemann i try adding 'Users.user' since phally has a user fixture
# Jul 17th 2009, 15:15 pointlessjon you can specify to import a model and not the fixture data, no?
# Jul 17th 2009, 15:14 alkemann if im only loading tag fixture, all should be missing
# Jul 17th 2009, 15:14 markstory well users table is missing.
# Jul 17th 2009, 15:14 alkemann markstory: http://bin.cakephp.org/view/860720628 - with line 6 i get troubled with "missing users table"
# Jul 17th 2009, 15:11 markstory and a model that doesn't have __construct() replaced?
# Jul 17th 2009, 15:11 markstory so you have an import fixture?
# Jul 17th 2009, 15:11 markstory makes sense.
# Jul 17th 2009, 15:11 alkemann instead it is using the actual table
# Jul 17th 2009, 15:11 alkemann i'd just like it to copy the live table, add a prefix and use this test table truncated and fixtured for testing
# Jul 17th 2009, 15:10 markstory I'm confused then.
# Jul 17th 2009, 15:10 alkemann it wouldnt, but u seemed to answer with that for my problem
# Jul 17th 2009, 15:10 markstory the fixture truncates the tables.
# Jul 17th 2009, 15:10 markstory no why would it.
# Jul 17th 2009, 15:09 alkemann markstory: classregiestry doesnt truncate tables afaik..
# Jul 17th 2009, 15:08 markstory Or it should be getting flushed.
# Jul 17th 2009, 15:08 alkemann markstory: thats what i want to do. but since the tests are for a custom model method, i need to access the real model, just not the real data
# Jul 17th 2009, 15:08 markstory the registry gets flushed after imports.
# Jul 17th 2009, 15:08 alkemann i guess since i import the model and it doesnt extend CakeTestModel?
# Jul 17th 2009, 15:08 markstory why aren't you using fixtures?