Log message #4100607

# At Username Text
# Dec 4th 2017, 13:04 dereuromark I think we should still verify that the theme subpath is a requirement when setting -t option
# Dec 4th 2017, 13:03 dereuromark I wonder if it could be related to https://github.com/cakephp/bake/compare/1.4.3...1.5.0#diff-6d80ca9deffb52c228835f7a4ec10a93L276 and the silent ctp fallback later in code
# Dec 4th 2017, 13:01 dereuromark Especially in verbose mode
# Dec 4th 2017, 13:01 dereuromark We should be a bit more verbose in outputting the theme it used / paths etc. Easier for debugging
# Dec 4th 2017, 13:01 dereuromark I can confirm bake silently ignoring the theme now
# Dec 4th 2017, 12:59 birdy247 I am trying to find the time for the datetime plugin
# Dec 4th 2017, 12:59 birdy247 currently on bitbucket
# Dec 4th 2017, 12:59 birdy247 @dereuromark Sure, we will add it to a github repo
# Dec 4th 2017, 12:58 birdy247 Its weird, not picking up the themes
# Dec 4th 2017, 12:56 birdy247 bin/cake bake template MemberAffiliations --theme Adminlte
# Dec 4th 2017, 12:56 dereuromark @birdy247 Any update on what you wanted to pluginize? :slightly_smiling_face: I might also be interested in the admintle theme though :P
# Dec 4th 2017, 12:53 birdy247 Do I need to configure anything?
# Dec 4th 2017, 12:53 birdy247 I havent changed anything, but --theme Adminlte no longer uses my templates
# Dec 4th 2017, 12:52 admad i have used latest bake with custom ctp templates and it works fine
# Dec 4th 2017, 12:51 jkpatel291289 @dereuromark ok thanks.
# Dec 4th 2017, 12:51 admad @birdy247 as of 1.5 bake uses twig templates, but backwards compatibility has been maintained with old ctp templates
# Dec 4th 2017, 12:51 dereuromark See https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#custom-find-methods
# Dec 4th 2017, 12:50 dereuromark But in your case you could also just pass the id into a customer finder and filter by that.
# Dec 4th 2017, 12:50 birdy247 My custom templates are not being used
# Dec 4th 2017, 12:49 birdy247 has something changed with bake?
# Dec 4th 2017, 12:49 dereuromark https://github.com/FriendsOfCake/awesome-cakephp#auditing--logging Checkout the awesome list and the Footprint plugin maybe
# Dec 4th 2017, 12:48 jkpatel291289 @dereuromark i am trying to display only records that are created by logged in user.
# Dec 4th 2017, 12:47 jkpatel291289 i want to pass loggedin user id into beforeFind method
# Dec 4th 2017, 12:47 obinoob9 casmo I do believe that the email is valid... perhaps you are having some validation trouble
# Dec 4th 2017, 12:47 dereuromark usually $this->MyModel->doSth($mySessionData) etc
# Dec 4th 2017, 12:46 dereuromark where do you call it in what controller? and what do you call?
# Dec 4th 2017, 12:46 dereuromark models should be stateless, not stateful :slightly_smiling_face:
# Dec 4th 2017, 12:46 jkpatel291289 how? i m newbi..
# Dec 4th 2017, 12:46 dereuromark passing it in.
# Dec 4th 2017, 12:46 jkpatel291289 what is the best way to use auth in model?
# Dec 4th 2017, 12:46 casmo Excuse me
# Dec 4th 2017, 12:44 admad casmo: ask the channel not an individual unless he/she has already started a conversation with you
# Dec 4th 2017, 12:44 admad guess the cakebot is dead
# Dec 4th 2017, 12:44 slackebot2 ~tell casmo abotu bitch
# Dec 4th 2017, 12:44 slackebot2 Command sent from Slack by admad:
# Dec 4th 2017, 12:43 happy Good point ;)
# Dec 4th 2017, 12:43 admad @happy you could have easily checked it yourself by checking the behavior code
# Dec 4th 2017, 12:42 casmo Hey Admad, is there a reason why the domein .co returns false on email validation? e.g. test@domain.co ?
# Dec 4th 2017, 12:42 obinoob9 hmic each phone / emails go through validator one at a time meaning all phones / emails are filtered by same rules what i only need the first phone or email to be required or filtered by some specific rule I can't use a custom validator because that would affect all phones/emails in same way right?
# Dec 4th 2017, 12:41 happy ok, thanks @admad :thumbsup:
# Dec 4th 2017, 12:41 admad @happy it does a select count() each time