# |
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) |
# |
Jun 15th 2018, 10:07 |
cakephp924 |
It seems that everything is correct |
# |
Jun 15th 2018, 09:56 |
dereuromark |
cakephp924: arent you mixing 3.x conventions in there? isnt it Chart->Chartkind-> etc? singular? |
# |
Jun 15th 2018, 09:43 |
lorenzo |
haha, it couldn’t be that easy |
# |
Jun 15th 2018, 09:39 |
spriz |
Aha! @lorenzo - I finally found the issue with bisect - in a PR that comes from December 5th ’17 :P But that one has tons of dependencies updates, so I’ll dig into it now :P |
# |
Jun 15th 2018, 09:26 |
tunafish |
fair enough ;) |
# |
Jun 15th 2018, 09:26 |
josbeir |
@tunafish thats why there are tests :slightly_smiling_face: |
# |
Jun 15th 2018, 09:25 |
cakephp924 |
I have Chartkinds as belongsTo |
# |
Jun 15th 2018, 09:25 |
cakephp924 |
im my model Chart |
# |
Jun 15th 2018, 09:24 |
cakephp924 |
in that line |
# |
Jun 15th 2018, 09:24 |
cakephp924 |
I got Error: Call to a member function find() on null |
# |
Jun 15th 2018, 09:24 |
cakephp924 |
$chartkinds = $this->Chart->Chartkinds->find('list'); |
# |
Jun 15th 2018, 09:24 |
cakephp924 |
hi I have a 'strange' problem with cake 2.x |
# |
Jun 15th 2018, 09:11 |
tunafish |
Sure, I'm just not sure what other consequences it might have |
# |
Jun 15th 2018, 09:10 |
josbeir |
can you create a ticket? Or even better, a PR ? :slightly_smiling_face: |
# |
Jun 15th 2018, 09:09 |
josbeir |
seems like an issue indeed |
# |
Jun 15th 2018, 09:09 |
tunafish |
Same validator for a modelles form and an entity |
# |
Jun 15th 2018, 09:09 |
tunafish |
When I change array_merge to array_replace, the keys are preserved |
# |
Jun 15th 2018, 09:09 |
josbeir |
to be clear, you are using a nestedMany validator on a modelless form ? |
# |
Jun 15th 2018, 09:08 |
tunafish |
It's the entity validation which is messing stuff up |
# |
Jun 15th 2018, 09:08 |
tunafish |
No, since the form actually does produce the correct output |