# |
Dec 24th 2019, 09:48 |
challgren |
Actually its `debug((string)$this->_response->getBody());` |
# |
Dec 24th 2019, 09:46 |
challgren |
You can use `$this->_response->getBody->getContents()` in your Integration test file |
# |
Dec 24th 2019, 08:26 |
john.zwarthoed |
@brian.french are you looking for: _getBodyAsString( ) ? |
# |
Dec 24th 2019, 07:53 |
megan |
Morning :wave: |
# |
Dec 24th 2019, 07:44 |
kani |
Hi |
# |
Dec 24th 2019, 07:12 |
brian.french |
One of mine is giving a 500, and i'd like to see what it's error is. |
# |
Dec 24th 2019, 07:12 |
brian.french |
For testing controllers, how can i actually get/see the output of the test from a $this->get('/plugin/controller/action'); ? |
# |
Dec 24th 2019, 06:00 |
brian.french |
Just curious since I feel like i'm polluting the history here with stuff regarding core projects, instead of genuine requests on usage. |
# |
Dec 24th 2019, 05:57 |
challgren |
I think it's for irc reasons |
# |
Dec 24th 2019, 05:56 |
brian.french |
That way we're not polluting the general support channel? |
# |
Dec 24th 2019, 05:55 |
brian.french |
to clarify Slack/Irc channels |
# |
Dec 24th 2019, 05:55 |
brian.french |
Any admins on? Would it be a good idea to create channels for each project in the cakephp namespace? like one for cakephp/upgrade, cakephp/app, cakephp-codesniffer, etc? |
# |
Dec 24th 2019, 05:19 |
brian.french |
Turned out the issue I was having with `cakephp/upgrade` was due to uncommitted changes that were effecting the specific files in the `src/Template` folder. I submitted [PR #132](https://github.com/cakephp/upgrade/pull/132) to catch if git fails. |
# |
Dec 24th 2019, 04:30 |
kailas |
i see. hrm. i don’t think i had that one on. anway, seems related to that. thanks for the response though! |
# |
Dec 24th 2019, 04:26 |
challgren |
social_accounts I believe |
# |
Dec 24th 2019, 04:25 |
kailas |
@challgren still getting the same error, but by disabling google authenticator and recaptcha, seems to work now. is there some other table that needs to be created for oauth2 logins like google? |
# |
Dec 24th 2019, 04:21 |
kailas |
hrm, no. will try that |
# |
Dec 24th 2019, 04:16 |
challgren |
you clear your orm cache? |
# |
Dec 24th 2019, 04:14 |
kailas |
I’m trying to get CakeDC/Users working with a custom users table. when trying to login with the user I created, I get an sql error “unknown column ‘secret’ in ‘field list’“. which is weird, since i’m not sure where that’s getting searched for. anyone know what could be going on? |
# |
Dec 24th 2019, 04:10 |
brian.french |
yeah, I will... |
# |
Dec 24th 2019, 04:10 |
challgren |
Open an issue so it can get fixed |
# |
Dec 24th 2019, 04:10 |
brian.french |
This seemed to work though: `fr3nch13/cakephp-jira$ ../../302dev/upgrade/bin/cake upgrade .` |
# |
Dec 24th 2019, 04:08 |
brian.french |
well, i guess it is, just something is failing: ```302dev/upgrade$ bin/cake upgrade ../../fr3nch13/cakephp-jira/ Moving templates fatal: '../../fr3nch13/cakephp-jira/src/Template' is outside repository``` |
# |
Dec 24th 2019, 04:06 |
brian.french |
The code to do it is there, but the default command `bin/cake upgrade /path/to/code` doesn't invoke it. |
# |
Dec 24th 2019, 04:04 |
challgren |
https://github.com/cakephp/upgrade/issues/126 |
# |
Dec 24th 2019, 04:03 |
challgren |
Yeah I reported that a while ago, thought it was fixed |
# |
Dec 24th 2019, 04:01 |
brian.french |
Ok, because the upgrade script isn't doing that. |
# |
Dec 24th 2019, 03:27 |
slackebot |
<challgren> |
# |
Dec 24th 2019, 03:26 |
brian.french |
what about /src/Template/Layout -> /templates/layout? |
# |
Dec 24th 2019, 03:26 |
brian.french |
err For |
# |
Dec 24th 2019, 03:25 |
brian.french |
Fro the cakephp/upgrade too, should it be moving the src/Template to /templates? |
# |
Dec 24th 2019, 03:13 |
challgren |
Ahh no bootstrap_cli anymore |
# |
Dec 24th 2019, 03:09 |
challgren |
Wonder if it didnt get ported to 4.x for some reason |
# |
Dec 24th 2019, 03:09 |
challgren |
It gone https://github.com/cakephp/cakephp/blob/master/src/Command/PluginLoadCommand.php#L118 |
# |
Dec 24th 2019, 03:06 |
dereuromark |
some docs look quite old: https://book.cakephp.org/4/en/console-commands/plugin.html |
# |
Dec 24th 2019, 03:05 |
challgren |
I did :( |
# |
Dec 24th 2019, 03:04 |
dereuromark |
nope, shouldnt |
# |
Dec 24th 2019, 03:04 |
challgren |
Did the `--cli` option get removed from `plugin load`? |
# |
Dec 24th 2019, 00:23 |
brian.french |
The upgrade script is throwing an error, that looks like it's not supposed to be throwing. https://github.com/cakephp/cakephp/issues/14070 |
# |
Dec 23rd 2019, 23:46 |
brian.french |
Done, also updated some files that needed it. |
# |
Dec 23rd 2019, 22:34 |
brian.french |
Sure |