Log message #3883479

# At Username Text
# May 30th 2016, 14:49 Eax Fantastic, many thanks duko :)
# May 30th 2016, 14:48 duko http://book.cakephp.org/3.0/en/controllers/components/authentication.html#configuration-options
# May 30th 2016, 14:48 duko ohh it's allowedActions now
# May 30th 2016, 14:47 Eax Awesome! thanks Duko!
# May 30th 2016, 14:47 duko yes
# May 30th 2016, 14:47 Eax duko: No, does that exclude it?
# May 30th 2016, 14:46 duko Eax: have you added it to alwaysAllowed?
# May 30th 2016, 14:45 Eax mriec Yes. And it changes every time you visit a new page / make an AJAX call, I need it to stop changing from AJAX calls
# May 30th 2016, 14:45 mriec Eax: this url is configurable
# May 30th 2016, 14:44 bravo-kernel not even thinking about having to setup travis nginx if I would go that route :scream:
# May 30th 2016, 14:44 bravo-kernel I guess my question is: any way to catch this using a Cake testcase or should I just start testing with curl?
# May 30th 2016, 14:43 bravo-kernel makes kinda sense since the echo is appearing in my console
# May 30th 2016, 14:43 Eax mriec My issue is that the wrong URL gets entered in to $this->Auth->redirectUrl()
# May 30th 2016, 14:43 mriec Eax: yep you can access request object anywhere in controller using $this->request http://book.cakephp.org/3.0/en/controllers/request-response.html
# May 30th 2016, 14:42 bravo-kernel this shows up in the raw json response in Postman but not in my `$this->_response->body()`
# May 30th 2016, 14:42 bravo-kernel The problem is it is not detecting (deliberately) malformed response, I added an `echo` in my controller
# May 30th 2016, 14:42 Eax mriec Oh, request it as a feature?
# May 30th 2016, 14:41 mriec Eax -> maybe request dependent reconfigure component in AppController... **
# May 30th 2016, 14:41 bravo-kernel I am building a test to see if my app responds with a valid json response like described here http://book.cakephp.org/3.0/en/development/testing.html#testing-a-json-responding-controller
# May 30th 2016, 14:41 hmic doing a custom datatype/marshaller
# May 30th 2016, 14:41 mriec Eax -> maybe request dereconfigure component in AppController...
# May 30th 2016, 14:40 hmic kants, send correct data?
# May 30th 2016, 14:40 kants How can i ge rid on this
# May 30th 2016, 14:40 kants The provided value is invalid
# May 30th 2016, 14:40 kants Getting validation error when i send a custom datetime format
# May 30th 2016, 14:34 Eax Hey folks - In Cake3, is it possible to exclude som URLs from Auth redirectUrl? To explain: I have some AJAX calls that getting mixed in and the user is redirected to their URL instead of the actual URL
# May 30th 2016, 14:22 mriec thanks for your time
# May 30th 2016, 14:22 mriec OK so the only one way is to allow debug kit in bootstrap.php
# May 30th 2016, 14:21 ypnos it is just the default to be activated only in that case
# May 30th 2016, 14:21 ypnos debug_kit is not limited to running in debug=true
# May 30th 2016, 14:21 mriec hmmm... maybe modification of bootstrap.php would make the magic
# May 30th 2016, 14:20 mriec there are no errors, let's say I need debug toolbar
# May 30th 2016, 14:19 ypnos you can find all errors there
# May 30th 2016, 14:19 ypnos have you considered having a look at the log file?
# May 30th 2016, 14:18 mriec hello folks... how to debug page that I am serving on error 404? when debug=true, I can see page which hold information about error (stack trace)... when I set debug=false, I can see page which I want to debug... but there are not debug tools present, since debug=false :) someone knows some magic which would help me?
# May 30th 2016, 13:44 Axel___ I'll see if I can upgrade it. As we have already built a lot of things on 3.1
# May 30th 2016, 13:42 hmic upgrade! there have been changes
# May 30th 2016, 13:41 Axel___ I am currently on 3.1.4
# May 30th 2016, 13:41 hmic and you are on 3.2.10?
# May 30th 2016, 13:41 Axel___ I am reading http://book.cakephp.org/3.0/en/migrations.html#generating-migrations-from-an-existing-database
# May 30th 2016, 13:39 hmic Axel___, have you read the docs?