Log message #4051808

# At Username Text
# Jul 13th 2017, 23:07 nicolas.r and no exception is thrown ?
# Jul 13th 2017, 23:06 siranm though this is more general ` } catch (\Exception $e) { `
# Jul 13th 2017, 23:06 nicolas.r huum
# Jul 13th 2017, 23:03 siranm ok, a ` } catch (\PDOException $e) { ` did it
# Jul 13th 2017, 23:02 siranm try..catch block is being ignored
# Jul 13th 2017, 23:01 siranm when making tests I try to make an INSERT on a table that breaks a UNIQUE CONSTRAINT. I'd like to 'catch' that as that is part of the test. But it simply breaks and the test fails... are there workarounds?
# Jul 13th 2017, 23:00 siranm but I do have a problem
# Jul 13th 2017, 22:59 siranm I feel so sleazy just coming here to ask questions haha
# Jul 13th 2017, 22:59 siranm how's everyone around here?
# Jul 13th 2017, 22:59 siranm hey
# Jul 13th 2017, 22:50 savant no problem
# Jul 13th 2017, 22:50 nicolas.r thx
# Jul 13th 2017, 22:50 nicolas.r subquery ! thx i didnt found the "good" word
# Jul 13th 2017, 22:50 savant https://book.cakephp.org/3.0/en/orm/query-builder.html
# Jul 13th 2017, 22:49 savant just subqueries
# Jul 13th 2017, 22:49 savant https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#fetching-with-the-subquery-strategy
# Jul 13th 2017, 22:49 savant ah
# Jul 13th 2017, 22:49 nicolas.r select sql
# Jul 13th 2017, 22:49 nicolas.r misunderstood
# Jul 13th 2017, 22:49 savant and when it changes, it inserts the second select dropdown or modifies it with the data you want
# Jul 13th 2017, 22:48 nicolas.r oh sorry
# Jul 13th 2017, 22:48 savant i mean you have some javascript that listens to the onChange for the first select
# Jul 13th 2017, 22:48 nicolas.r jsut js integration to do subselect ? :thinking_face:
# Jul 13th 2017, 22:47 savant thats usually just js integration
# Jul 13th 2017, 22:47 savant we dont have anything specific to cakephp
# Jul 13th 2017, 22:46 nicolas.r it's subselect ?
# Jul 13th 2017, 22:46 nicolas.r yeah
# Jul 13th 2017, 22:46 savant you want to do dynamic selects based on previous ones?
# Jul 13th 2017, 22:46 nicolas.r do you know how to do a subselect with cake ?
# Jul 13th 2017, 22:46 nicolas.r subselect
# Jul 13th 2017, 22:46 nicolas.r you do a select and another select into
# Jul 13th 2017, 22:46 nicolas.r humm..
# Jul 13th 2017, 22:46 nicolas.r i dont know the word in englsih for this ...
# Jul 13th 2017, 22:45 nicolas.r @savant tell me, maybe you can help me
# Jul 13th 2017, 22:43 nicolas.r :slightly_smiling_face:
# Jul 13th 2017, 22:42 savant probably
# Jul 13th 2017, 22:42 nicolas.r anyone is here ?
# Jul 13th 2017, 22:40 nicolas.r yo
# Jul 13th 2017, 22:24 nblade42 What help?
# Jul 13th 2017, 22:21 dvd_ I NEED HELP
# Jul 13th 2017, 22:20 dvd_ oi