Log message #4021339

# At Username Text
# Apr 30th 2017, 12:33 spriz | courses:teacheradmin.pupils:add | /teacher-admin/courses/:course_id/pupils | {"controller":"Pupils","action":"add","_method":"POST","prefix":"Courses","plugin":"TeacherAdmin"}```
# Apr 30th 2017, 12:32 spriz how would one generate a url by array notation for a URL like /teacher-admin/courses/:course_id/pupils/add`?
# Apr 30th 2017, 11:03 spriz https://api.cakephp.org/3.3/class-Cake.ORM.Behavior.htm
# Apr 30th 2017, 11:03 spriz do'h'
# Apr 30th 2017, 11:00 spriz what would be the preferred way to add buildRules from a behavior? :P
# Apr 30th 2017, 10:46 dereuromark You can ignore that
# Apr 30th 2017, 10:45 dereuromark Why ist that a Problem? Some Frontend maybe wants to Format it based on that key
# Apr 30th 2017, 10:22 saeideng i make a ticket or pr as soon :slightly_smiling_face:
# Apr 30th 2017, 10:21 saeideng i use now like: $this->request->session()->write('Flash.contact.error', ['error message']);
# Apr 30th 2017, 10:19 saeideng but that include extra information like "element" "key",.. in json result
# Apr 30th 2017, 10:18 saeideng for example writing flash message
# Apr 30th 2017, 10:14 dereuromark I am Not Sure What you think is Missing or Not working. Feel free to Open a Ticket etc.
# Apr 30th 2017, 10:12 saeideng i now thinking about that
# Apr 30th 2017, 10:09 saeideng or use/capability/implement ajax plugin to use Cake Flash
# Apr 30th 2017, 10:08 saeideng i think we should implement component like Flash
# Apr 30th 2017, 10:07 saeideng but not now
# Apr 30th 2017, 10:07 saeideng yes
# Apr 30th 2017, 10:03 dereuromark Wanna make a pr?
# Apr 30th 2017, 09:56 saeideng i think that need some component /helper
# Apr 30th 2017, 09:56 saeideng @dereuromark what your plan for updating ajax plugin?
# Apr 30th 2017, 08:53 spriz @admad could I be using the wrong scopes? :thinking_face:
# Apr 30th 2017, 08:51 spriz not sure how exactly though, feeling weird just to use the first email provided :thinking_face:
# Apr 30th 2017, 08:51 spriz yeah, that's where I'll start :slightly_smiling_face:
# Apr 30th 2017, 08:50 admad The issue would have to be handled in phpleague's oauth2 client lib
# Apr 30th 2017, 08:50 spriz will go into the rabbit holy, it seems like some edge case
# Apr 30th 2017, 08:50 admad Don't think any oauth lib accounts for such case
# Apr 30th 2017, 08:50 spriz I made an issue here @admad with how the data looks, but I'm unsure where this issue actually occur :) https://github.com/UseMuffin/OAuth2/issues/16
# Apr 30th 2017, 08:49 admad @spriz that's really strange, have never encountered something like that.
# Apr 30th 2017, 08:35 spriz Anyone used some of the google oauth login featuers? I'm wondering why I get an array of `emails` while `email` is just null :thinking_face:
# Apr 30th 2017, 06:26 metoyoko @loginews if you allow me, why not. I want to help also, its also challenging.
# Apr 30th 2017, 01:53 theskillwithin Anyone looking for a job in SLC? Feel free to PM me for more details or to get in contact with our recuiter
# Apr 30th 2017, 01:11 flashios09 `DateType::$dateTimeClass = ‘App\I18n\Time’;`
# Apr 30th 2017, 01:11 flashios09 i just add this line to bootstrap.php and it works now
# Apr 30th 2017, 01:11 flashios09 @pc-world thanks, i didn’t notice that cake has a new DateType class
# Apr 30th 2017, 01:03 flashios09 and `Cake\I18n\Time` not `Cake\I18n\Date`
# Apr 30th 2017, 01:03 flashios09 before i have `App\I18n\Time` not `App\I18n\Date`
# Apr 30th 2017, 00:58 pc-world flashios09: according to https://book.cakephp.org/3.0/en/core-libraries/time.html, cake switched the date/time library in 3.2
# Apr 30th 2017, 00:56 flashios09 now it’s always `Cake\I18n\Date` not `App\I18n\Date` :(
# Apr 30th 2017, 00:55 flashios09 ``` ```
# Apr 30th 2017, 00:55 flashios09 when i get a datetime field from database, i have something like this
# Apr 30th 2017, 00:54 flashios09 before it works