# |
Jun 15th 2018, 13:20 |
birdy247 |
How do I see exactly what has happened when I "post" |
# |
Jun 15th 2018, 13:20 |
birdy247 |
I am creating an integration (controller) test. |
# |
Jun 15th 2018, 13:20 |
birdy247 |
Hi |
# |
Jun 15th 2018, 12:56 |
valentin |
Hi all, anybody have a problem with stored procedure (in and out) with cakephp ? |
# |
Jun 15th 2018, 12:36 |
edgaras.jan |
Is `Router::addUrlFilter()` compatible with `new RoutingMiddleware($this, '_cake_routes_')`? It looks like it skips `Router::addUrlFilter()` from `routes.php` |
# |
Jun 15th 2018, 12:26 |
lorenzo |
use a closure that internally calls the Users method |
# |
Jun 15th 2018, 12:26 |
spriz |
The TableRegistry |
# |
Jun 15th 2018, 12:26 |
spriz |
do’h |
# |
Jun 15th 2018, 12:26 |
spriz |
Ahhh |
# |
Jun 15th 2018, 12:26 |
lorenzo |
try adding the callback in a differet way |
# |
Jun 15th 2018, 12:26 |
lorenzo |
you are requesting a connection before the test suite gets a chance to alias |
# |
Jun 15th 2018, 12:25 |
spriz |
how? |
# |
Jun 15th 2018, 12:25 |
spriz |
really |
# |
Jun 15th 2018, 12:25 |
spriz |
?! |
# |
Jun 15th 2018, 12:25 |
lorenzo |
ah, makes sense |
# |
Jun 15th 2018, 12:25 |
spriz |
@lorenzo if I remove this line from our `bootstrap.php`: `EventManager::instance()->on('Muffin/OAuth2.newUser', [TableRegistry::get('Users'), 'createOauthUser']);` it’s using the right db connection…. I’ll figure out why monday :,) :,) |
# |
Jun 15th 2018, 12:15 |
narendravaghela |
In the table |
# |
Jun 15th 2018, 12:04 |
cpierce |
in the entity or the table? |
# |
Jun 15th 2018, 11:42 |
josbeir |
https://github.com/Paradoxis/Gordon :rolling_on_the_floor_laughing::rolling_on_the_floor_laughing::rolling_on_the_floor_laughing: |
# |
Jun 15th 2018, 11:38 |
josbeir |
altho i could check it out, it its just a find and replace it would probably me less work :slightly_smiling_face: |
# |
Jun 15th 2018, 11:37 |
josbeir |
real life stuff :) |
# |
Jun 15th 2018, 11:37 |
josbeir |
and no budget to upgrade that one |
# |
Jun 15th 2018, 11:37 |
josbeir |
legacy :S |
# |
Jun 15th 2018, 11:37 |
saeideng |
just left the 1 and use 2 in your all projects , why u need to 1 again ? |
# |
Jun 15th 2018, 11:36 |
josbeir |
but considering i did all the fixes on the 2.x branch its probably not going to be fixed in an hour tho :P |
# |
Jun 15th 2018, 11:36 |
saeideng |
:+1: |
# |
Jun 15th 2018, 11:35 |
josbeir |
maybe when i got an hour to spare this weekend |
# |
Jun 15th 2018, 11:35 |
josbeir |
yeah did that, made it even worse :) :) :( |
# |
Jun 15th 2018, 11:35 |
saeideng |
now is ~3.4.0 |
# |
Jun 15th 2018, 11:35 |
saeideng |
to 3.6 |
# |
Jun 15th 2018, 11:35 |
saeideng |
:slightly_smiling_face: |
# |
Jun 15th 2018, 11:35 |
saeideng |
also you must increase cake min version in 1.x branch |
# |
Jun 15th 2018, 11:34 |
josbeir |
2.x all the way! |
# |
Jun 15th 2018, 11:34 |
josbeir |
i'll see what i can do |
# |
Jun 15th 2018, 11:34 |
josbeir |
me neither, but got a legacy project |
# |
Jun 15th 2018, 11:33 |
josbeir |
:) |
# |
Jun 15th 2018, 11:33 |
josbeir |
my ocd cant handle this |
# |
Jun 15th 2018, 11:33 |
lorenzo |
and I really don’t have the time to invest in it :( |
# |
Jun 15th 2018, 11:33 |
lorenzo |
it’s a difficult branch to maintain, considering that 3.6 happened |
# |
Jun 15th 2018, 11:33 |
lorenzo |
fix as much as you can, not all tests need to pass if they are failing |
# |
Jun 15th 2018, 11:32 |
josbeir |
wanted to backport the logger but ... :P |