# |
Jun 18th 2018, 10:25 |
neon1024 |
Your composer json autoloading the core? |
# |
Jun 18th 2018, 10:25 |
spriz |
Ah - that kinda makes sense: https://github.com/FriendsOfCake/crud/pull/592/files |
# |
Jun 18th 2018, 10:25 |
neon1024 |
Autoloader? |
# |
Jun 18th 2018, 10:24 |
spriz |
crud 5.4.2 broke it somehow :P |
# |
Jun 18th 2018, 10:22 |
spriz |
earlier a `$this->assertResponseContains('Not found');` could be used :P |
# |
Jun 18th 2018, 10:22 |
spriz |
on a `$this->delete('/admin/feature_groups/delete/invalidId');` |
# |
Jun 18th 2018, 10:21 |
spriz |
As so: `PHP Fatal error: Class 'Cake\Http\Exception\NotFoundException' not found in /var/www/apacta/vendor/friendsofcake/crud/src/Traits/FindMethodTrait.php on line 95` |
# |
Jun 18th 2018, 10:21 |
spriz |
anyone else have had problems with cake exceptions not being caught by phpunit in integration test cases? For us crud 5.4.x cause the trouble (trying to figure out which patch version) |
# |
Jun 18th 2018, 09:58 |
louis |
No problem, thank’s for your help :thumbsup: |
# |
Jun 18th 2018, 09:44 |
saeideng |
I'm not using this plugin |
# |
Jun 18th 2018, 09:38 |
louis |
Or not because, in my default template i’m loading relative url for assets and it loads in https. The problem only happen with the plugin |
# |
Jun 18th 2018, 09:31 |
louis |
It’s in relative in the plugin (Cake Swagger). It works but redirect to https. the problem probably comes from my htaccess |
# |
Jun 18th 2018, 09:29 |
saeideng |
and use relative ur for assets |
# |
Jun 18th 2018, 09:28 |
saeideng |
if it was ok |
# |
Jun 18th 2018, 09:28 |
saeideng |
and see result |
# |
Jun 18th 2018, 09:28 |
saeideng |
test on of them in address bar |
# |
Jun 18th 2018, 09:27 |
louis |
They are all using http, but on my machine it loads in https |
# |
Jun 18th 2018, 09:26 |
edgaras.jan |
check if all resources loaded from https |
# |
Jun 18th 2018, 09:16 |
louis |
Good morning ! Anyone experienced issues with plugin swagger not loading assets in https on prod env ? |
# |
Jun 18th 2018, 08:42 |
dereuromark |
tip: make a test case (or use the old existing one if available^^) and then make this test pass. You can look into existing behaviors (awesome list) for examples of usage. |
# |
Jun 18th 2018, 08:36 |
rudy1976s |
I need help with Behavior and map/reduce: I need to emulate the old “afterFind” in a behavior , when I would like to alter the data injecting something.: I know that now there is map/reduce to achieve that , but is it possibile to use on behavior and where ? |
# |
Jun 18th 2018, 08:35 |
rudy1976s |
morning! |
# |
Jun 18th 2018, 08:34 |
josbeir |
lazy weekend over here.. was planning on doing some work but i failed |
# |
Jun 18th 2018, 08:34 |
josbeir |
morning ! |
# |
Jun 18th 2018, 08:21 |
neon1024 |
Morning everyone, hope everyone had a nice weekend |
# |
Jun 18th 2018, 07:25 |
justrohu |
Or how do I defined to use this test connection explicitly |
# |
Jun 18th 2018, 07:24 |
justrohu |
I have defined test - configuration in app.php under Datasources |
# |
Jun 18th 2018, 07:23 |
justrohu |
Hello All, I am writing CakePHP testcases for my application and I observed CakePHP 3 is not using my test_rest database. It is using my production database for fixtures ... how do I change selection of database |
# |
Jun 18th 2018, 06:50 |
admad |
this is a bug in current 3.6 release, will be fixed in next |
# |
Jun 18th 2018, 06:50 |
admad |
AdyG: just remove the ->addPlugin() call in Application::bootstrap() |
# |
Jun 18th 2018, 05:18 |
AdyG |
@camden - I'm rolling back a step to re-do it |
# |
Jun 18th 2018, 04:48 |
camden |
I got to go to sleep though, so gn everyone. |
# |
Jun 18th 2018, 04:47 |
camden |
@AdyG sorry, it's midnight here and I'm talking to you on my phone, otherwise I might be of more help. My only real suggestion is that there might be something in the previous tutorials that you missed or isn't quite setup correctly. |
# |
Jun 18th 2018, 04:31 |
AdyG |
@camden - yep - tute worked until added the JWT |
# |
Jun 18th 2018, 04:27 |
camden |
Haha, I was thinking of suggesting that you read that tutorial |
# |
Jun 18th 2018, 04:24 |
AdyG |
@camden - I'm doing the tutorial from Bravo Kernel - the full error at the moment is: Uncaught InvalidArgumentException: The plugin class `ADmad\JwtAuth\Plugin` cannot be found. Ensure your autoloader is correct. (without the exception list) |
# |
Jun 18th 2018, 04:23 |
AdyG |
@camden via composer |
# |
Jun 18th 2018, 04:19 |
justrohu |
Hello All, I have just upgraded my project to CakePHP 3.6 and some how `$this->Form->postLink` is not working ... It is not passing the parameter values to url in form post request |
# |
Jun 18th 2018, 04:15 |
camden |
@AdyG did you install it manually or via composer |
# |
Jun 18th 2018, 04:00 |
AdyG |
@camden - Nope, it's just about midday now in Western Australia |
# |
Jun 18th 2018, 03:59 |
camden |
@AdyG good morning. You must be somewhere in Europe or something for it to be morning for you. |