Log message #4047551

# At Username Text
# Jul 4th 2017, 09:24 birdy247 just worked it out
# Jul 4th 2017, 09:24 birdy247 neon1024
# Jul 4th 2017, 09:24 neon1024 It’ll come down to form string templates vs CSS imho
# Jul 4th 2017, 09:24 neon1024 Why are you trying to think up a way? When the documentation has a way!
# Jul 4th 2017, 09:19 birdy247 trying to think up the "best" way of doing this
# Jul 4th 2017, 09:19 birdy247 I want to change the default template for datetimes
# Jul 4th 2017, 09:19 birdy247 I am using FOC/BootstrapUI
# Jul 4th 2017, 09:08 jonasz Even doc for Type::clear() suggest is is handy for testing, but that must apply for other cases, I presume?
# Jul 4th 2017, 09:07 jonasz Looks like ORM will always attempt to call Type::build() althought there are no types defined. I thought it should default to some basic PHP types rather than clasess like StringType?
# Jul 4th 2017, 09:05 jonasz Hi Guys, i'm trying to use Type:clear() in unit test case to get clearer output from Table:find(), but then i'm getting error: `InvalidArgumentException: Unknown type "string" /var/www/courses123/vendor/cakephp/cakephp/src/Database/Type.php:104 /var/www/courses123/vendor/cakephp/cakephp/src/Database/TypeConverterTrait.php:34 /var/www/courses123/vendor/cakephp/cakephp/src/Database/Statement/PDOStatement.php:69`
# Jul 4th 2017, 08:50 brettl and ladies
# Jul 4th 2017, 08:50 neothermic hmm, morning fun, trying to work out why cake can't write to the memcache server (despite it working fine last night!)
# Jul 4th 2017, 08:36 megan cough cough, and ladies :)
# Jul 4th 2017, 08:34 brettl gents
# Jul 4th 2017, 08:34 brettl hey getns
# Jul 4th 2017, 07:58 adriencs hey
# Jul 4th 2017, 07:49 neon1024 Morning everyone
# Jul 4th 2017, 07:20 maymeow @adriencs yes :slightly_smiling_face: i fixed it. I had in IssueTable wrong class name for Comments
# Jul 4th 2017, 07:20 adriencs @maymeow seem your Tables are in plugins
# Jul 4th 2017, 07:15 adriencs @maymeow hu
# Jul 4th 2017, 07:04 kareylo A looooong time i didn't come ! How are you, every bakers ?
# Jul 4th 2017, 06:49 slackebot 'user_id', 'joinType' => 'INNER', 'className' => 'CakeAuth.Users' ]); ``` Any idea what is wrong? Comments are loaded into issues with BelongsToMany ``` $this->belongsToMany('Comments', [ 'foreignKey' => 'issue_id', 'targetForeignKey' => 'comment_id', 'joinTable' => 'issues_comments', 'className' => 'CakeService.Comments', 'saveStrategy' => 'append'
# Jul 4th 2017, 06:49 maymeow ``` $issue = $this->Issues->get($id, [ 'contain' => [ 'Users', 'Comments' => [ 'Users' ], 'Assignees', 'Labels'] ]); ``` i have problem with this. It returns error: __Comments are not asociated with users__. but comments are associated with Users ``` $this->belongsTo('Users', [ 'fo
# Jul 4th 2017, 06:03 sniedermaier if you don't wanna use an entity to create the form use NULL as the first parameter
# Jul 4th 2017, 06:02 sniedermaier or in your case `echo $this->Form->create($entity, ['url' => 'login_decide.php']);`
# Jul 4th 2017, 06:01 sniedermaier @aproapedelune to set the action use the following line of code echo $this->Form->create($article, ['url' => ['action' => 'login']]);
# Jul 4th 2017, 05:29 aproapedelune hello! :slightly_smiling_face: do " ?= $this->Form->action('login_decide.php') ?>" and <form action="login_decide.php" have the same action? Is the first line even correct?
# Jul 4th 2017, 05:28 justrohu Hello All, I have upgraded my project from CakePHP 2.5.9 to CakePHP 2.9.9 while testing before deploying it to production, I noticed the Id attribute for Forms have been changed. i.e. For CakePHP 2.5.9 it was 'ProductInventoryInventoryForm' and after upgrade it has become 'ProductInventoryAdjustInventoryForm' for action '/admin-manage/warehouse/adjust_inventory' - How do I keep the older domId generation format
# Jul 4th 2017, 00:17 spencdev or the HTML helper $this->Html->script
# Jul 4th 2017, 00:16 spencdev anyone particular reason for using it that way? Generally, at least for me, you use fetch->script
# Jul 3rd 2017, 23:50 origamifreak Hello everyone, anyone ever experienced an issue where "../" in a src attribute in a <script> tag included the controller name? For example src="../assets/global/plugins/moment.min.js" is trying to pull the js from http://www.site.com/controller-name/assets/global/plugins/moment.min.js. This is only happening when something other than the index view for the controller is called.
# Jul 3rd 2017, 22:53 ben Thanks! I suspected github is the best option. Will do.
# Jul 3rd 2017, 22:52 phpnut Yes it will remain framework agnostic for the foreseeable future
# Jul 3rd 2017, 22:52 phpnut We do post news about releases at bakery.cakephp.org
# Jul 3rd 2017, 22:52 phpnut you should be able to follow and get notices on github
# Jul 3rd 2017, 22:51 phpnut we are working on the roadmap
# Jul 3rd 2017, 22:48 ben Other than the Github page, what's the best way to follow activity on the Phinx project as it transitions under cakephp? Any option for active notifications? Is there/will there be a roadmap? Will it remain framework agnostic in its historical current sense?
# Jul 3rd 2017, 21:59 jeremyharris np
# Jul 3rd 2017, 21:59 smarty24 Thank you
# Jul 3rd 2017, 21:59 jeremyharris :+1: good luck
# Jul 3rd 2017, 21:59 jeremyharris or like I said, just have a method that generates it based on known values