# |
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 |
# |
Jun 15th 2018, 11:32 |
josbeir |
hmm @lorenzo the 1.x branch of the ES plugin is a bit crappy at this point, bunch of tests failing ... |
# |
Jun 15th 2018, 10:39 |
slackebot |
!gist |
# |
Jun 15th 2018, 10:39 |
slackebot |
Command sent from Slack by neon1024: |
# |
Jun 15th 2018, 10:39 |
neon1024 |
Ideally, the association code in the ChartsTable class, or Chart model class |
# |
Jun 15th 2018, 10:38 |
neon1024 |
You will need to share some code I think for us to help you with the debugging |
# |
Jun 15th 2018, 10:24 |
cakephp924 |
it seems that app doesnt use the 'Chart' Model where I defined the belongsTo association |
# |
Jun 15th 2018, 10:08 |
cakephp924 |
I use that plugin in other projects and it works! |
# |
Jun 15th 2018, 10:08 |
cakephp924 |
(but doesnt) |