# |
Jun 20th 2018, 21:01 |
mdunham |
unsigned |
# |
Jun 20th 2018, 21:01 |
mdunham |
tinyint size = 1? |
# |
Jun 20th 2018, 21:00 |
pekka_slack |
@dereuromark I'm using tinyint in MySQL. Should it be something else? |
# |
Jun 20th 2018, 20:59 |
dereuromark |
henrik: depends on the schema of this field, and the type class used etc. |
# |
Jun 20th 2018, 20:58 |
kitcat711_ |
(goota go, will read any comment later) |
# |
Jun 20th 2018, 20:58 |
kitcat711_ |
works fine but just have a problem with the seed |
# |
Jun 20th 2018, 20:57 |
mdunham |
looks cool |
# |
Jun 20th 2018, 20:57 |
kitcat711_ |
yes mdunham : https://github.com/davidyell/CakePHP3-Proffer/blob/master/README.md |
# |
Jun 20th 2018, 20:57 |
pekka_slack |
I'm trying to wrap my head around the difference between 'true' and '1' when sending an array of data to patchEntity(). Only the numeric version is working for me and I'm wondering if this is by design, or some issue on my end? ``` $data['error'] = true; // this doesn't work $table->patchEntity($entity, $data); $data['error'] = 1; // this works $table->patchEntity($entity, $data); // as does this $entity->error = true; ``` |
# |
Jun 20th 2018, 20:38 |
mdunham |
proffer? |
# |
Jun 20th 2018, 20:05 |
kitcat711_ |
hello , does anyone use the Proffer plugin with cake 3.5? |
# |
Jun 20th 2018, 17:32 |
_Schlaefer |
Hi. I have a question about best practice implementing a UI-DB-updater with Migrations. If someone has thoughts they are greatly appreciated. Thanks. https://discourse.cakephp.org/t/provide-db-ui-updater-through-migrations-where-and-when-to-check-versions/4432 |
# |
Jun 20th 2018, 16:38 |
hmic |
:p |
# |
Jun 20th 2018, 15:57 |
admad |
Who be you? |
# |
Jun 20th 2018, 15:46 |
hmic |
hey guys, i'm back from china for a few days... |
# |
Jun 20th 2018, 15:08 |
josbeir |
@lorenzo https://github.com/cakephp/elastic-search/pull/176 fixed |
# |
Jun 20th 2018, 14:53 |
magiq |
and when i trying to use $this->Form it throw exception somewhere else, because some kind of trait raise that form helper already initialized |
# |
Jun 20th 2018, 14:52 |
magiq |
but $this->helpers['Form'] not the helper itself, only params |
# |
Jun 20th 2018, 14:52 |
magiq |
then I wrote this https://pastebin.com/V7FT44jd to add custom widget |
# |
Jun 20th 2018, 14:49 |
magiq |
So I need to add typeMap and widget and it should works |
# |
Jun 20th 2018, 14:48 |
magiq |
and then pass this value to https://api.cakephp.org/3.6/source-class-Cake.View.Widget.WidgetLocator.html#144 |
# |
Jun 20th 2018, 14:45 |
magiq |
it use https://api.cakephp.org/3.6/source-class-Cake.View.Helper.FormHelper.html#1372 |
# |
Jun 20th 2018, 14:44 |
magiq |
I'm using crud view plugin that generate form according database |
# |
Jun 20th 2018, 14:44 |
magiq |
how to add custom widget for custom database table |
# |
Jun 20th 2018, 13:06 |
neon1024 |
Afternoon everyone :wave: |
# |
Jun 20th 2018, 12:57 |
flavius |
good good, thx |
# |
Jun 20th 2018, 12:57 |
dereuromark |
of course not, you just cant make PRs and stuff anymore :slightly_smiling_face: |
# |
Jun 20th 2018, 12:56 |
flavius |
yo, what happens to a composer package if the github source is "archived" and marked as read-only? I'm suspecting nothing, right? :P |
# |
Jun 20th 2018, 12:13 |
josbeir |
looks like the change would not require that much work |
# |
Jun 20th 2018, 12:06 |
josbeir |
i'll see how complex it is to implement :slightly_smiling_face: |
# |
Jun 20th 2018, 12:06 |
josbeir |
and i stumble on some of these things |
# |
Jun 20th 2018, 12:05 |
josbeir |
i get that, it is my first project now thats using it as primary |
# |
Jun 20th 2018, 12:05 |
lorenzo |
I don’t use ES as a primary store, so this kind of modelling was never desirable to me |
# |
Jun 20th 2018, 12:05 |
lorenzo |
makes stuff very complex, but if you think it is desirable, then go for it |
# |
Jun 20th 2018, 12:04 |
josbeir |
Hey @lorenzo in ES we now have embedOne and embedMany, these get applied on keys on the 'root' document. But with denormalized data its normal to have nesting at a deeper level, what are your toughts on implementing support for embeds on a deeper level, for instance, embedOne('item.nested') ? |
# |
Jun 20th 2018, 11:38 |
unclezoot |
thanks lorenzo |
# |
Jun 20th 2018, 11:37 |
unclezoot |
we're added the action to the $this->Security->setConfig('unlockedActions'... array which is working so that's good enough for me at this moment |
# |
Jun 20th 2018, 11:36 |
unclezoot |
so ive been reading, which suggests one day the component will be deprecated so now is the time to start reading up on it |
# |
Jun 20th 2018, 11:36 |
lorenzo |
in 3.6 the middleware is encouraged |
# |
Jun 20th 2018, 11:36 |
lorenzo |
are you using the component or the middleware |
# |
Jun 20th 2018, 11:35 |
unclezoot |
im trying the latter, reading it from the cookie then passing it in via an ajax post in the header |