# |
Sep 6th 2019, 18:00 |
emiliano |
error -> App\Model\Behavior\CognitoUsersBehavior contains duplicate method "validationresendinvitationemail" which is already provided by "AwsCognito" |
# |
Sep 6th 2019, 18:00 |
slackebot |
<emiliano> |
# |
Sep 6th 2019, 17:57 |
ricksaccous |
oh man you work at EvilCorp? |
# |
Sep 6th 2019, 17:57 |
slackebot |
<emiliano> |
# |
Sep 6th 2019, 17:54 |
emiliano |
thanks a lot, ok |
# |
Sep 6th 2019, 17:53 |
admad |
@emiliano just ask your actual question and wait for a response from someone |
# |
Sep 6th 2019, 17:42 |
mocelle |
@challgren thx |
# |
Sep 6th 2019, 17:36 |
emiliano |
I have a function of a behavior that I need to modify |
# |
Sep 6th 2019, 17:34 |
emiliano |
hello how are you ?, can I consult to extend a behavior? |
# |
Sep 6th 2019, 17:31 |
challgren |
@mocelle not I, I just use a ssh connection with a deploy script in composer |
# |
Sep 6th 2019, 17:26 |
mocelle |
I mean deploy cake App with deployer :grinning: |
# |
Sep 6th 2019, 17:23 |
mocelle |
does anyone have experience with deployer (deployer.org) |
# |
Sep 6th 2019, 15:03 |
dereuromark |
too bad that the IDE doesnt auto inject full `@inherit` parent text.. that would be sth useful. or a quick hover info. |
# |
Sep 6th 2019, 15:02 |
dereuromark |
;) A tool could sync them maybe. But manually would be a bad idea, soon the unDRY text becomes more burden than help as a few of them will be outdated/lying |
# |
Sep 6th 2019, 14:48 |
neon1024 |
I simply cannot be arsed to check three interfaces for a docblock |
# |
Sep 6th 2019, 14:48 |
neon1024 |
It’s an abstract class |
# |
Sep 6th 2019, 14:48 |
neon1024 |
https://github.com/cakephp/cakephp/blob/master/src/Http/BaseApplication.php#L148 |
# |
Sep 6th 2019, 14:48 |
neon1024 |
This needs fixing |
# |
Sep 6th 2019, 14:40 |
vjnvisakh |
need this |
# |
Sep 6th 2019, 14:40 |
vjnvisakh |
type: the type of the join to use in the SQL query. The default is ‘LEFT’, which may not fit your needs in all situations. The value ‘INNER’ may be helpful (when used with some conditions) when you want everything from your main and associated models or nothing at all. |
# |
Sep 6th 2019, 13:48 |
ricksaccous |
there's the type option |
# |
Sep 6th 2019, 13:48 |
ricksaccous |
but yeah you can do it |
# |
Sep 6th 2019, 13:48 |
ricksaccous |
@vjnvisakh https://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#belongsto |
# |
Sep 6th 2019, 13:47 |
ricksaccous |
hmmm |
# |
Sep 6th 2019, 13:47 |
vjnvisakh |
ok |
# |
Sep 6th 2019, 13:47 |
vjnvisakh |
o |
# |
Sep 6th 2019, 13:47 |
ricksaccous |
it's been too long i don't remember much about cake 2 sorry |
# |
Sep 6th 2019, 13:46 |
ricksaccous |
heh |
# |
Sep 6th 2019, 13:46 |
vjnvisakh |
2 |
# |
Sep 6th 2019, 13:46 |
ricksaccous |
are you on cake2 or 3? |
# |
Sep 6th 2019, 13:45 |
vjnvisakh |
do i give it in bindModel() |
# |
Sep 6th 2019, 13:43 |
ricksaccous |
join type option |
# |
Sep 6th 2019, 13:43 |
ricksaccous |
definition |
# |
Sep 6th 2019, 13:43 |
ricksaccous |
in the association |
# |
Sep 6th 2019, 13:43 |
ricksaccous |
pretty sure there is a join type |
# |
Sep 6th 2019, 13:43 |
vjnvisakh |
hwo to specify an inner join in belongsTo |
# |
Sep 6th 2019, 13:32 |
val |
in 2.x if there is 'id' field then the "entity" is considered not new |
# |
Sep 6th 2019, 13:31 |
val |
is there a way to pass `isNew = false` to `newEntity()`? |
# |
Sep 6th 2019, 13:29 |
alexdd55976 |
at what point? when you call `newEntity()`there is no comparism to the DB |
# |
Sep 6th 2019, 13:28 |
val |
https://api.cakephp.org/3.7/class-Cake.Datasource.EntityTrait.html#_isNew if I create an entity with 'id' that already exists in the database shouldn't `isNew()` return false? |
# |
Sep 6th 2019, 13:27 |
peppejaripappalardo |
Guys, does this method `$entity->getOriginal(property)` work with associated entities? Because even by changing the value, this method continues to return the new value to me without taking into account the value it had before being modified. |