# |
Sep 22nd 2009, 07:56 |
alkemann |
you craete article "How I met Santa", the slug becomes "How-I-met-Santa", then I write a translated article of this, ie a "child article" as per our current spec, I translate the title to "Hvordan jeg møtte nissen", should my new article create a new slug, ie "Hvordan-jeg-moette-nissen" (notice fixing special character), or perhaps would it be better to create a url like "/nob/How-met-Santa" ? and what about articles that is not a tra |
# |
Sep 22nd 2009, 05:35 |
alkemann |
i thought calling create() would be good so as to not include model state from before in the test |
# |
Sep 22nd 2009, 05:35 |
alkemann |
ah calling Model->create() befure and update Save() resets the non included fields |
# |
Sep 22nd 2009, 05:33 |
alkemann |
yea something very weird going on. imma gonna try to debug around and see |
# |
Sep 22nd 2009, 05:28 |
Phally |
thats weird, does it remove the record? because usually counts don't lie or maybe it is the counterscope that doesn't match the edited record |
# |
Sep 22nd 2009, 05:25 |
alkemann |
ok. i edit a page and somehow it reduces the page count |
# |
Sep 22nd 2009, 05:24 |
Phally |
alkemann: well not now, i'm at work, but i can tonight |
# |
Sep 22nd 2009, 05:19 |
alkemann |
Phally: can u pull the 20 branch and tell me if you can see why the last test of the CounterCache test fails? |
# |
Sep 22nd 2009, 05:10 |
Phally |
also i will see that the deprecation errors will be removed |
# |
Sep 22nd 2009, 05:10 |
alkemann |
ok, thanks |
# |
Sep 22nd 2009, 05:09 |
Phally |
i'll think about it, let me see if i can come up with something |
# |
Sep 22nd 2009, 05:08 |
alkemann |
UserAppProfile , ie a model that is shared but reused differenlt by each app or a UserBakeryProfile and a UserBookProfile.. i dont know |
# |
Sep 22nd 2009, 05:08 |
alkemann |
the best idea i know we have discussed so far is each app has a UserProfile and the group_id field is in that table |
# |
Sep 22nd 2009, 05:07 |
Phally |
the login action is in the plugin too |
# |
Sep 22nd 2009, 05:07 |
Phally |
yeah, but how do you get it in the session? |
# |
Sep 22nd 2009, 05:07 |
Phally |
there wouldn't be anything to check against |
# |
Sep 22nd 2009, 05:07 |
alkemann |
with a group_id, just not in a plugin table |
# |
Sep 22nd 2009, 05:07 |
Phally |
without a group_id, how would you want to do the permissions and stuff? |
# |
Sep 22nd 2009, 05:05 |
Phally |
it wasn failing last time i checked, perhaps some new changes were made in 1.3 |
# |
Sep 22nd 2009, 05:05 |
alkemann |
yea i agree with the renaming |
# |
Sep 22nd 2009, 05:05 |
Phally |
alkemann: oh yeah, i renamed the prefix to something more clear and nicer and more consistent |
# |
Sep 22nd 2009, 05:05 |
alkemann |
i wonder if we can get one of them henchmen that gwoo recruited to convert our tests to controller / view code |
# |
Sep 22nd 2009, 05:04 |
Phally |
alkemann: let me read |
# |
Sep 22nd 2009, 05:04 |
Phally |
alkemann: i always lunch long :) |
# |
Sep 22nd 2009, 05:04 |
alkemann |
phally-lunch: so Users_Controller test fails 3 of them, with 3 warnings of deprecations with 1.3 |
# |
Sep 22nd 2009, 05:03 |
alkemann |
phally-lunch: thats a long lunch |
# |
Sep 22nd 2009, 04:26 |
alkemann |
phally-lunch: also, why do you have group_id as part of the users table? we need to have it app specific |
# |
Sep 22nd 2009, 04:26 |
alkemann |
but i guess if i need user, thats hpow it needs to be |
# |
Sep 22nd 2009, 04:26 |
alkemann |
sucks that now i have to include all ur fixtures in my app tests |
# |
Sep 22nd 2009, 04:25 |
alkemann |
phally-lunch: forgot that u put the users plugin schema in the plugin folder. and you renamed the table prefix? |
# |
Sep 22nd 2009, 04:03 |
Phally |
alkemann: yo |
# |
Sep 22nd 2009, 02:34 |
alkemann |
Phally: pling |
# |
Sep 22nd 2009, 02:29 |
alkemann |
!logs |
# |
Sep 20th 2009, 13:00 |
Phally |
d'oh, he left |
# |
Sep 20th 2009, 13:00 |
Phally |
eh isn't there the schema file? |
# |
Sep 20th 2009, 11:46 |
alkemann |
Phally: can i get sql for the current version of users plugin? |
# |
Sep 19th 2009, 14:43 |
ADmad |
rofl |
# |
Sep 19th 2009, 14:43 |
Phally |
http://irc.cakephp.org/logs/link/1029818#message1029828 |
# |
Sep 19th 2009, 14:42 |
Phally |
wrong paste |
# |
Sep 19th 2009, 14:42 |
Phally |
lol |
# |
Sep 19th 2009, 14:42 |
Phally |
can someone please restore my admin privileges at the bakery? username: Frank (http://whatboyswant.com/newsitem/5017/1/Police_Called_For_Halo_Sniper_Rifle.html) |