# |
Mar 17th 2019, 10:43 |
savant |
well maybe it’ll call limit 1 |
# |
Mar 17th 2019, 10:43 |
savant |
whats the query it produces? |
# |
Mar 17th 2019, 10:43 |
savant |
https://github.com/cakephp/cakephp/blob/master/src/Datasource/QueryTrait.php#L465 |
# |
Mar 17th 2019, 10:43 |
savant |
seems it’ll call limit(1) on it |
# |
Mar 17th 2019, 10:41 |
birdy247 |
I amde a unit test to prove it |
# |
Mar 17th 2019, 10:41 |
birdy247 |
It is always the last |
# |
Mar 17th 2019, 10:41 |
savant |
I’ve never done this though |
# |
Mar 17th 2019, 10:41 |
savant |
probably the first one |
# |
Mar 17th 2019, 10:40 |
birdy247 |
the hasOne scenario I wrote above |
# |
Mar 17th 2019, 10:40 |
savant |
wat |
# |
Mar 17th 2019, 10:37 |
birdy247 |
@savant any ideas? |
# |
Mar 17th 2019, 10:31 |
birdy247 |
@lorenzo any ideas? |
# |
Mar 17th 2019, 10:23 |
birdy247 |
Does cake always take the last entity in a hasOne if there are many? |
# |
Mar 17th 2019, 10:23 |
birdy247 |
the hasOne would then return 1 |
# |
Mar 17th 2019, 10:23 |
birdy247 |
3,2,1 |
# |
Mar 17th 2019, 10:22 |
birdy247 |
lets say the finder ordersDesc |
# |
Mar 17th 2019, 10:22 |
birdy247 |
I noticed something, and I am not sure if this is expected |
# |
Mar 17th 2019, 10:22 |
birdy247 |
I am using the "select" strategy |
# |
Mar 17th 2019, 10:22 |
birdy247 |
I have a hasOne association |
# |
Mar 17th 2019, 10:22 |
birdy247 |
Hi |
# |
Mar 17th 2019, 07:41 |
ssalvatori |
but if I enabled the boostrap cakedc will overwrite my configuration even if I place it after the addPLugin on the application.php file |
# |
Mar 17th 2019, 07:40 |
ssalvatori |
I disabled the boostrap and copied https://github.com/CakeDC/users/blob/master/config/bootstrap.php#L25-L49 but then cake is not able to find the finder Auth |
# |
Mar 17th 2019, 07:39 |
ssalvatori |
Hi, I'm having troubles with like https://github.com/CakeDC/users/issues/753 |
# |
Mar 17th 2019, 04:46 |
grossolive4 |
I changed it and it worked, Is there a better way? |
# |
Mar 17th 2019, 04:45 |
slackebot2 |
<grossolive4> |
# |
Mar 17th 2019, 03:43 |
grossolive4 |
Can you help me, thanks |
# |
Mar 17th 2019, 03:42 |
grossolive4 |
Hi all, I want to filter the Translate data but it doesn't work |
# |
Mar 17th 2019, 03:40 |
slackebot2 |
<grossolive4> |
# |
Mar 17th 2019, 02:09 |
chrisshick |
@markstory |
# |
Mar 17th 2019, 02:03 |
chrisshick |
Under the logs folder |
# |
Mar 17th 2019, 02:02 |
chrisshick |
@mark.mcwhirter queries.log |
# |
Mar 17th 2019, 02:02 |
chrisshick |
The latest version @challgren |
# |
Mar 17th 2019, 01:58 |
markstory |
Where are queries being logged? @chrisshick |
# |
Mar 17th 2019, 01:43 |
challgren |
What version of cake? |
# |
Mar 17th 2019, 01:40 |
chrisshick |
It shouldn’t be logging in our production env but it is |
# |
Mar 17th 2019, 01:39 |
slackebot2 |
<chrisshick> |
# |
Mar 16th 2019, 20:58 |
ssalvatori |
I'm doing a configure::load right after the addPlugin in the Application.php but then in my app the configure::read is returning the same content from the boostrap not my configure::load content |
# |
Mar 16th 2019, 20:57 |
ssalvatori |
what is the best or the right moment to change the configurations ? boostraped by the plugins ? |
# |
Mar 16th 2019, 20:56 |
ssalvatori |
question about the plugins and who they load the boostrap conf |
# |
Mar 16th 2019, 20:54 |
ssalvatori |
re |
# |
Mar 16th 2019, 19:03 |
ssalvatori |
one with CamelCase and the other with - |