Log message #4171464

# At Username Text
# Dec 29th 2018, 12:15 birdy247 preserveCompositeKeyIndex?
# Dec 29th 2018, 12:15 birdy247 make it a config?
# Dec 29th 2018, 12:15 birdy247 @admad ok, but how would I solve the assumption of which keys to remove?
# Dec 29th 2018, 11:56 admad i don't use composite keys hence dont care :slightly_smiling_face: You can make a PR if you have a proper fix without assumptions you mentioned
# Dec 29th 2018, 11:45 birdy247 @admad ?
# Dec 29th 2018, 11:45 birdy247 for anyone using the duplicatable plugin
# Dec 29th 2018, 11:45 birdy247 https://github.com/riesenia/cakephp-duplicatable/issues/37
# Dec 29th 2018, 10:49 madbbb Hello. Need help with Form->control() helper method. When I pass frozen date property in it and set type of control to text I get input field with date in form 12.12.18 how can I make it to show full 4 digit year inside?
# Dec 29th 2018, 09:47 asdfgh thanks
# Dec 29th 2018, 09:47 asdfgh ok i try
# Dec 29th 2018, 09:47 challgren ¯\_(ツ)_/¯
# Dec 29th 2018, 09:32 asdfgh challgran do you think if i call it "assessments" cake cannot recognize the relathionship ?
# Dec 29th 2018, 09:31 asdfgh thanks challgren
# Dec 29th 2018, 09:21 challgren agent_job_assessments IMHO
# Dec 29th 2018, 09:20 asdfgh which follow the cake conventions?
# Dec 29th 2018, 09:19 asdfgh agents_jobs_assessments or agent_job_assessments or agent_jobs_assessments
# Dec 29th 2018, 09:19 asdfgh what name should i use?
# Dec 29th 2018, 09:19 asdfgh i have these tables: agents, jobs, agents_jobs now i have to create something like agents_jobs_assessments so basically i table that is pointing to the PK of the agents_jobs table
# Dec 29th 2018, 09:19 asdfgh hello
# Dec 29th 2018, 08:18 admad there are plenty of examples in the test cases of the PR :slightly_smiling_face:
# Dec 29th 2018, 08:16 admad as for allow empty read the code of the PR for e.g. ->notEmpty('title')` would be changed to `->allowEmptyString('title', false)`
# Dec 29th 2018, 08:14 admad "and hasRendered is still used in render() call" no it's not in 4.x
# Dec 29th 2018, 05:05 NickBusey Thanks :)
# Dec 29th 2018, 04:58 challgren Good luck with your brewing and app!
# Dec 29th 2018, 04:57 challgren Ahh that would be it!
# Dec 29th 2018, 04:56 NickBusey thanks
# Dec 29th 2018, 04:56 NickBusey Hmm actually, it looks like things may be working and the 404 is because the record was actually deleted and I didn't notice it
# Dec 29th 2018, 04:54 challgren Im not very familiar with that plugin but it appears there's no query being sent to the database. But again Im not familiar with how that plugin works
# Dec 29th 2018, 04:49 NickBusey https://pastebin.com/Yd7DdW5Y
# Dec 29th 2018, 04:48 challgren Well your delete pastebin isn't complete so I cant really see the whole issue
# Dec 29th 2018, 04:46 NickBusey Not sure what you mean, using the crud plugin so it is supposed to handle generating that
# Dec 29th 2018, 04:44 challgren Whats your findMethod?
# Dec 29th 2018, 04:40 NickBusey The editing error claims the URL id doesn't match the data id, when in fact it does.
# Dec 29th 2018, 04:40 NickBusey I'm trying to get FriendsOfCake/crud-json-api working, and I can create and read records, but deleting and updating doesn't work. here's the error when deleting: https://pastebin.com/3YY5MukG and here's the error when editing: https://pastebin.com/S53rwBwQ
# Dec 29th 2018, 03:46 slackebot <challgren>
# Dec 29th 2018, 03:46 challgren Ok so I'm having a weird issue during testing of my custom UsersMailer built from CakeDC\Users. I've built a Plugin.php for CakeDC\Users to see if maybe that was the issue and I am loading the plugin in my `tests\bootstrap.php` using `Plugin::getCollection()->add(new \CakeDC\Users\Plugin(['routes' => true]));`
# Dec 29th 2018, 01:30 itmpls that shouldn't matter i guess, buut
# Dec 29th 2018, 01:30 itmpls could it be because my request data passes the _ids somehow?
# Dec 29th 2018, 01:22 itmpls oh well
# Dec 29th 2018, 01:22 itmpls hm, tried that but no go. weeeird
# Dec 29th 2018, 01:15 dereuromark I had to do sth similar: https://github.com/dereuromark/cakephp-tags/blob/master/src/Model/Behavior/TagBehavior.php#L105