Log message #4227071

# At Username Text
# Feb 14th 2020, 13:07 val > 'hasMany' => [ > 'ShopCategory' => [ > 'conditions' => [ > 'ShopCategory.id IN ( > SELECT ShopCategoryItem.shop_category_id > FROM shops AS Shop > LEFT JOIN shop_category_items AS ShopCategoryItem > ON ShopCategoryItem.shop_id = Shop.id > WHERE Shop.resource_type = "event" AND Shop.resource_id = {$__cakeID__$} > )', > ], > 'foreignKey' => false, > ], > ],
# Feb 14th 2020, 13:07 val @lorenzo, here is a bit simplified example:
# Feb 14th 2020, 12:56 neon1024 Good thanks :thumbsup:
# Feb 14th 2020, 12:34 lorenzo @val can you explain a bit more? there is no 1:1 way to translate that for cake 3, but in general is easy as cake 3 makes custom association conditions quite easy
# Feb 14th 2020, 12:34 lorenzo @neon1024 thanks! Things are going fine here. How about yourself?
# Feb 14th 2020, 12:32 neon1024 :) Thanks
# Feb 14th 2020, 12:29 storkovo @neon1024 that is cool :) thank you very much - I’m exploring options, Proffer looks sexy :+1:
# Feb 14th 2020, 12:29 dereuromark mentioning works :) Does that work with chuck norris too?
# Feb 14th 2020, 12:27 neon1024 @lorenzo :wave: Hey! Hope all is well with you
# Feb 14th 2020, 12:27 val @lorenzo> Hi, we use `{$__cakeID__$}` in 'conditions' in associations in 2.x. What is the proper way to migrate that to 3.x?
# Feb 14th 2020, 12:27 neon1024 :question:
# Feb 14th 2020, 12:27 lorenzo ?
# Feb 14th 2020, 12:25 val @lorenzo?
# Feb 14th 2020, 12:24 neon1024 I haven’t tried converting pdf to image though. Not sure what library might do that job :)
# Feb 14th 2020, 12:24 neon1024 @storkovo Yeah, that should work :)
# Feb 14th 2020, 12:23 storkovo @neon1024 Hello! I am looking at your Proffer plugin (version for cake 3.x at the moment) - I will need to upload and store pdf files and transform them to image (for preview and other things) - am I right with my assumption that custom “transformClass” is desired way and solution for that, please?
# Feb 14th 2020, 12:22 val Hi, we use `{$__cakeID__$}` in 'conditions' in associations in 2.x. What is the proper way to migrate that to 3.x?
# Feb 14th 2020, 09:45 lpj145 The first filter can't nothing, second try, I can't understand what my consurmer talking ? The problem is not me...
# Feb 14th 2020, 09:43 lpj145 Try add two filter for same filder with different filter type :$
# Feb 14th 2020, 09:43 lpj145 And express is based on concept functional programing
# Feb 14th 2020, 09:42 lpj145 Is a era of typed information, devs, meetups, organization, some people talking about stop use arrays, stop turn code with a breach's
# Feb 14th 2020, 09:40 dereuromark Interesting
# Feb 14th 2020, 09:40 lpj145 @dereuromark yes
# Feb 14th 2020, 09:40 lpj145 Express plugin ia based a group information about api query consulting
# Feb 14th 2020, 09:40 dereuromark You think Search plugin is not easy to use?
# Feb 14th 2020, 09:38 lpj145 Symfony and laravel have a similar concept, and express plugin try to help dev by powerful api softwares
# Feb 14th 2020, 09:35 lpj145 @dereuromark because approachable, broke changes, the existing plugin increase all of new or veterans devs needs to know about cake things, and turn more difficult for devs migrate from other fws, because have a new curve of learning.
# Feb 14th 2020, 09:25 revillosakristianpaol its actually overkill hahaha, but its already on prod so i have no choice hehe :,)
# Feb 14th 2020, 09:24 christianjohn.gss shouldnt that be a little overkill? hehe. did u normalize the table?
# Feb 14th 2020, 09:21 revillosakristianpaol unfortunately yes, its 40 :disappointed_relieved: or more on our table (we have no other choice but to find a solution)
# Feb 14th 2020, 09:20 revillosakristianpaol tested using 40, 45 columns table no response
# Feb 14th 2020, 09:18 revillosakristianpaol i think yes, i also tested it t o other tables with such column size. but when using fewer, it works
# Feb 14th 2020, 08:59 christianjohn.gss table contains 40 or more columns? :O
# Feb 14th 2020, 08:55 dereuromark are you sure its about size and not about the content? some invalid char or alike?
# Feb 14th 2020, 08:52 revillosakristianpaol hi im facing errors regarding serializing entities; when my table contains 40 or more columns, serialize returns nothing (json_encode also returns nothing) i hope someone can enlighten me
# Feb 14th 2020, 08:42 christianjohn.gss morning
# Feb 14th 2020, 08:07 damiano morning friends
# Feb 14th 2020, 07:55 javier.villanueva morning all
# Feb 14th 2020, 07:20 dereuromark @lpj145 Why didnt u contribute to the existing plugin? Whats the main difference of yours?
# Feb 14th 2020, 06:35 alexdd55976 morning
# Feb 14th 2020, 04:05 admad Make a PR and you will get feedback