# |
Oct 3rd 2016, 21:04 |
bravo-kernel |
@admad ok thanks |
# |
Oct 3rd 2016, 21:04 |
admad |
but i wouldn't suggest using source install just add the required model classes to your plugin tests |
# |
Oct 3rd 2016, 21:03 |
admad |
by default the dist install is used and it only contains the fixtures |
# |
Oct 3rd 2016, 21:03 |
admad |
@bravo-kernel you can use the models from core test suite only if you use --prefer-source to install the dev dependencies |
# |
Oct 3rd 2016, 21:02 |
ndm |
@bravo-kernel It should be, but the cake core test app doesn't use a `Cake` prefixed namespace, it's just `TestApp\...`, also you may need to add a corresponding autoload entry to your `composer.json`. |
# |
Oct 3rd 2016, 20:54 |
bravo-kernel |
Is this even do'able |
# |
Oct 3rd 2016, 20:53 |
bravo-kernel |
I am having some trouble loading a Cake TestApp model from within my plugin tests. I am trying to use Cake\TestApp\Model\Entity\Article and the create new Article() |
# |
Oct 3rd 2016, 20:52 |
harry1 |
Contain will not work because it won't NOt join if a condiiton is not met |
# |
Oct 3rd 2016, 20:51 |
harry1 |
in v2 of cake can i return all hasMany data based on a join condition |
# |
Oct 3rd 2016, 20:08 |
maxomatos |
any problem " Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists." |
# |
Oct 3rd 2016, 20:08 |
maxomatos |
any problem " Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists." |
# |
Oct 3rd 2016, 19:50 |
maxomatos |
Thanks, I'll try |
# |
Oct 3rd 2016, 19:49 |
thinkingmedia |
https://getcomposer.org/doc/05-repositories.md#using-private-repositories |
# |
Oct 3rd 2016, 19:49 |
thinkingmedia |
here is an example in the docs for bitbucket here. |
# |
Oct 3rd 2016, 19:48 |
thinkingmedia |
https://getcomposer.org/doc/05-repositories.md |
# |
Oct 3rd 2016, 19:48 |
thinkingmedia |
``` "repositories": [ { "type": "vcs", "url": "git@bitbucket.org:vendor/repo.git" } ] ``` |
# |
Oct 3rd 2016, 19:46 |
maxomatos |
how? any example? |
# |
Oct 3rd 2016, 19:45 |
thinkingmedia |
@maxomatos you have to add the git url to your composer.json file manually. |
# |
Oct 3rd 2016, 19:31 |
maxomatos |
How to install plugin from https://bitbucket.org? |
# |
Oct 3rd 2016, 18:34 |
Greezler |
Ah great. Wasn't 2.8 fully compatible? I assume that renaming this was missed? |
# |
Oct 3rd 2016, 18:33 |
admad |
Greezler: Object has been renamed to CakeObject for php 7 compatibility |
# |
Oct 3rd 2016, 18:29 |
Greezler |
Hi, I'm trying to upgrade from 2.7.1 to 2.8+. When I drop in 2.8.9, everything seems fine. But when I drop in 2.9.0, I get a "Class 'Object' not found in ...." error. Anyone know why this is? |
# |
Oct 3rd 2016, 18:25 |
birdy247 |
[Symfony\Component\Console\Exception\CommandNotFoundException] Command "SessionDurationsSeed" is not defined. |
# |
Oct 3rd 2016, 18:25 |
birdy247 |
it works fine on local |
# |
Oct 3rd 2016, 18:24 |
birdy247 |
I am trying to run a seed |
# |
Oct 3rd 2016, 17:53 |
inoas |
? |
# |
Oct 3rd 2016, 17:53 |
inoas |
https://www.youtube.com/watch?v=wPPFhcqGcvk what do you guys think about GraphQL |
# |
Oct 3rd 2016, 17:53 |
birdy247 |
sorry, I didnt reply |
# |
Oct 3rd 2016, 17:53 |
birdy247 |
Thanks |
# |
Oct 3rd 2016, 17:53 |
birdy247 |
hmic |
# |
Oct 3rd 2016, 17:41 |
djbuss |
nice, thanks |
# |
Oct 3rd 2016, 17:40 |
admad |
@djbuss https://github.com/UseMuffin/Orderly |
# |
Oct 3rd 2016, 17:38 |
djbuss |
in cake2 you could set an default orderBy in the model. Not anymore right ? |
# |
Oct 3rd 2016, 17:09 |
hmic |
2 steps: add 'block' => true to every postlinks options array, 2. add echo $this->fetch('postLink'); after you have closed the surrounding form |
# |
Oct 3rd 2016, 17:08 |
birdy247 |
think I got it |
# |
Oct 3rd 2016, 17:08 |
birdy247 |
Ok |
# |
Oct 3rd 2016, 17:08 |
birdy247 |
:slightly_smiling_face: |
# |
Oct 3rd 2016, 17:07 |
hmic |
exactly as i said and the book states |
# |
Oct 3rd 2016, 17:07 |
hmic |
they seem to provide working examples, yes. |
# |
Oct 3rd 2016, 17:06 |
birdy247 |
http://stackoverflow.com/questions/35007237/how-to-use-formhelperpostlink-inside-of-a-form |
# |
Oct 3rd 2016, 17:06 |
birdy247 |
I am reading this |