# |
Mar 5th 2018, 21:41 |
admad |
@birdy247 lemme know if things work smoothly with the dev branch so i can push a new release, gn |
# |
Mar 5th 2018, 21:40 |
savant |
I think lazy loading is an anti-pattern |
# |
Mar 5th 2018, 21:39 |
savant |
ive never used it though |
# |
Mar 5th 2018, 21:39 |
savant |
sounds like a bug. I would file an issue in that repo |
# |
Mar 5th 2018, 21:38 |
mikesmoniker |
Without the lazy loading trait, that works fine. With it, it has no effect. |
# |
Mar 5th 2018, 21:38 |
mikesmoniker |
The use case is appending a “default” item to a list as part of an API response. E.g. `array_unshift($customer->brandings, $defaultSystemBrand);` |
# |
Mar 5th 2018, 21:37 |
mikesmoniker |
Maybe I could. I’m not really dealing in form/request data.. |
# |
Mar 5th 2018, 21:36 |
savant |
maybe you should use patchentity to associate it instead? |
# |
Mar 5th 2018, 21:36 |
mikesmoniker |
It does nothing, but without the lazy loading trait it does. |
# |
Mar 5th 2018, 21:36 |
savant |
no-op? |
# |
Mar 5th 2018, 21:35 |
mikesmoniker |
I’m noticing some oddness after installing jeremyharris/cakephp-lazyload. Specifically, `$entity->myrelationship[0] = $someEntity` is now a _no-op_. Anyone familiar with the plugin know of any other caveats like that? |
# |
Mar 5th 2018, 20:56 |
savant |
@gsitex i do something similar here for persisting form errors: https://github.com/cakephp/plugins.cakephp.org/blob/master/src/Controller/Component/PersistErrorsComponent.php |
# |
Mar 5th 2018, 20:55 |
savant |
@gsitex you’d need to save the data into the session to do that |
# |
Mar 5th 2018, 20:55 |
savant |
@ghoritrilochan that seems to load here |
# |
Mar 5th 2018, 20:55 |
savant |
xhprof is… slow and I would not recommend running it there |
# |
Mar 5th 2018, 20:54 |
savant |
meder: I use newrelic for app profiling in prod |
# |
Mar 5th 2018, 20:52 |
meder |
or profilers in general, on production/staging |
# |
Mar 5th 2018, 20:52 |
meder |
iirc someone mentioned it last week |
# |
Mar 5th 2018, 20:52 |
meder |
has anyone extensively used xhprof? |
# |
Mar 5th 2018, 20:41 |
birdy247 |
thank you |
# |
Mar 5th 2018, 20:40 |
birdy247 |
@admad you are to fast :slightly_smiling_face: |
# |
Mar 5th 2018, 20:37 |
gsitex |
How to use redirect() in controller to keep $this->request->data() with redirect? |
# |
Mar 5th 2018, 20:36 |
gsitex |
Hey All! |
# |
Mar 5th 2018, 20:15 |
ghoritrilochan |
and local in work all good |
# |
Mar 5th 2018, 20:14 |
ghoritrilochan |
cake 3.5 |
# |
Mar 5th 2018, 20:14 |
meder |
is there a reason why when i try to group by on my entity which has 'subgroup.group.id' contains/associations for 'subgroup.group.id' it's just a blank string and fails to group? |
# |
Mar 5th 2018, 20:14 |
ghoritrilochan |
http://shreehariji.com/ |
# |
Mar 5th 2018, 20:14 |
jsonGuy |
using: CakePHP 3.4.4; Apache/2.4.1; PHP 7.1.11; PostgreSQL 9.3.21; PHPUnit 6.5.7. |
# |
Mar 5th 2018, 20:14 |
ghoritrilochan |
hi.. i was upload my project in plesk but not work proper |
# |
Mar 5th 2018, 20:13 |
jsonGuy |
Fixture creation for "eventos" failed "SQLSTATE[42704]: Undefined object: 7 ERROR: type "jsonb" does not exist at character 214" in [/home/erick.amorim/www/siscad/implementacao/vendor/cakephp/cakephp/src/TestSuite/Fixture/TestFixture.php, line 306] |
# |
Mar 5th 2018, 20:12 |
jsonGuy |
I'm trying to run a test, but it doesn't works |
# |
Mar 5th 2018, 20:12 |
jsonGuy |
Anyone had trouble using fixtures with json fields? |
# |
Mar 5th 2018, 20:12 |
jsonGuy |
Good evening fellas |
# |
Mar 5th 2018, 19:46 |
admad |
use "socialProfileModel" key to configure the table |
# |
Mar 5th 2018, 19:46 |
admad |
@birdy247 try our the `dev` branch. you can update version constraint in composer as "dev-dev as 1.0" |
# |
Mar 5th 2018, 19:08 |
birdy247 |
so they will need to add it to their facebook valid urls |
# |
Mar 5th 2018, 19:08 |
birdy247 |
As facebook now requires a fixed url |
# |
Mar 5th 2018, 19:08 |
birdy247 |
It might be worth mentioning in the docs how users can find the callback url that you create |
# |
Mar 5th 2018, 19:08 |
birdy247 |
awesome little plugin though :+1: |
# |
Mar 5th 2018, 19:07 |
birdy247 |
Always happy to help |
# |
Mar 5th 2018, 19:06 |
birdy247 |
No prob |