# |
Aug 27th 2019, 16:31 |
neon1024 |
Later everyone :wave: |
# |
Aug 27th 2019, 16:31 |
neon1024 |
:) |
# |
Aug 27th 2019, 16:31 |
ricksaccous |
honestly i was kind of guessing |
# |
Aug 27th 2019, 16:31 |
ricksaccous |
maybe you were right then, no problem |
# |
Aug 27th 2019, 16:31 |
neon1024 |
Thanks for your time @ricksaccous :thumbsup: |
# |
Aug 27th 2019, 16:31 |
ricksaccous |
oh dang it |
# |
Aug 27th 2019, 16:31 |
neon1024 |
Hm, well that’s the end of the day for me |
# |
Aug 27th 2019, 16:30 |
neon1024 |
Well adding `_joinData` to the `$_accessible` of my `Question` entity has prevented the join data marhslling into an entity |
# |
Aug 27th 2019, 16:30 |
ricksaccous |
lol |
# |
Aug 27th 2019, 16:29 |
ricksaccous |
but i'm too lazy |
# |
Aug 27th 2019, 16:29 |
slackebot2 |
<neon1024> |
# |
Aug 27th 2019, 16:29 |
ricksaccous |
prob allowing each field specifically is better though |
# |
Aug 27th 2019, 16:29 |
ricksaccous |
i generally just leave my entities 'id' => false, '*' => true when it comes to accessibility |
# |
Aug 27th 2019, 16:28 |
neon1024 |
Hm, I don’t see it anywhere. I’ll give that a try |
# |
Aug 27th 2019, 16:28 |
ricksaccous |
i don't think cake just allows it magically unfortunately |
# |
Aug 27th 2019, 16:28 |
neon1024 |
As it’s generated by the join |
# |
Aug 27th 2019, 16:28 |
ricksaccous |
it does, and it should show up in the accessible array |
# |
Aug 27th 2019, 16:27 |
neon1024 |
Well honestly, I wouldn’t know if `_joinData` was accessible or not. I don’t _think_ it needs tobe |
# |
Aug 27th 2019, 16:27 |
neon1024 |
:male_mage: |
# |
Aug 27th 2019, 16:27 |
ricksaccous |
okay lol |
# |
Aug 27th 2019, 16:27 |
neon1024 |
Yus |
# |
Aug 27th 2019, 16:27 |
ricksaccous |
TELL ME NOW |
# |
Aug 27th 2019, 16:27 |
ricksaccous |
is it? |
# |
Aug 27th 2019, 16:23 |
ricksaccous |
i just wanted to make sure _joinData was accessible in your questions entity |
# |
Aug 27th 2019, 16:21 |
neon1024 |
Although the response FormEntity has a `questions` property which contains `_joinData` so I kinda followed that |
# |
Aug 27th 2019, 16:20 |
neon1024 |
I wonder if I’ve put my `_joinData` in the wrong place :thinking_face: |
# |
Aug 27th 2019, 16:20 |
neon1024 |
I’ve updated my Form and Question entity to add `sortorder` and I don’t see any changes :( |
# |
Aug 27th 2019, 16:18 |
neon1024 |
Ah ok, yes, apologies! |
# |
Aug 27th 2019, 16:18 |
ricksaccous |
that's not what's accessible in the Question entity itself is it |
# |
Aug 27th 2019, 16:17 |
ricksaccous |
like i said that's join data |
# |
Aug 27th 2019, 16:17 |
neon1024 |
Well, messy underlined / strikethrough :P |
# |
Aug 27th 2019, 16:17 |
neon1024 |
The second image I linked, has it underlined |
# |
Aug 27th 2019, 16:17 |
ricksaccous |
not in the actual Question entity |
# |
Aug 27th 2019, 16:17 |
ricksaccous |
but that's join data |
# |
Aug 27th 2019, 16:17 |
ricksaccous |
i see sort order is accessible in _joinData |
# |
Aug 27th 2019, 16:17 |
graziel |
i use phpstorm and its ok in there |
# |
Aug 27th 2019, 16:17 |
neon1024 |
I highlighted it :slightly_smiling_face: |
# |
Aug 27th 2019, 16:16 |
ricksaccous |
@neon1024 what's accessible in Question? |
# |
Aug 27th 2019, 16:16 |
neon1024 |
@graziel Are there choices? :O |
# |
Aug 27th 2019, 16:16 |
neon1024 |
@graziel You don’t like the Xdebug `var_dump` theme? |
# |
Aug 27th 2019, 16:16 |
alexdd55976 |
@admad to literaly see whats in it.. yeah.. but is it not possible to show it? this is very general quesion, i know |