# |
Jul 14th 2018, 10:24 |
kitcat711 |
hello neon1024, thx, found it (discovering PHPStorm in the mean time, which makes it harder) |
# |
Jul 14th 2018, 10:23 |
neon1024 |
@kitcat711 No don't modify the vendor files, just use the correct class. The Email class has moved house, check the source code to see the `class_alias()` |
# |
Jul 14th 2018, 10:22 |
neon1024 |
Morning all |
# |
Jul 14th 2018, 09:07 |
kitcat711 |
Am I supposed to modify any vendor file? |
# |
Jul 14th 2018, 09:07 |
kitcat711 |
hello, working on my migration from 3.5 to 3.6, I got this warning: Use Cake/Mailer/Email ... in vendor/composer/CalssLoader.php |
# |
Jul 13th 2018, 18:55 |
kailas |
seems like there is some way that Form->input can choose the value from ->invalid and display the error message, but not sure why it’s not working |
# |
Jul 13th 2018, 18:50 |
slackebot |
https://gist.github.com/kailasnarendran/11fc281cd48c82cb83cc689e09452514 |
# |
Jul 13th 2018, 18:50 |
kailas |
In my app I’m creating a set of entities using newentities. When i create my form to bulk edit, I’m not sure why the default values are not being populated. I’m having trouble creating the form to edit the set. namely, i create all my form fields and manually set all the default value, but it doesn’t display the validation errors. if i leave default values out, then nothing is populated - |
# |
Jul 13th 2018, 18:26 |
awitte |
because I will need to assign fields for all the other rules, that basicly validate begin / end against a status etc. (cant have an end if you still work on something etc...) |
# |
Jul 13th 2018, 18:25 |
awitte |
thats bad news for me |
# |
Jul 13th 2018, 18:24 |
awitte |
ok... I finaly found it... providing a message aint enough, you need to provide errorField as well... :/ |
# |
Jul 13th 2018, 16:18 |
rrd564 |
ah i see. thanks |
# |
Jul 13th 2018, 16:18 |
josbeir |
It makes formhelper aware of fields to include when generating its token for security component |
# |
Jul 13th 2018, 16:10 |
rrd564 |
The cookbook is really short about widget's `secureFields` method. What is it for? |
# |
Jul 13th 2018, 15:47 |
awitte |
https://pastebin.com/Ppt4WyVz |
# |
Jul 13th 2018, 15:39 |
awitte |
Hi Diego_, it is a pretty basic existsIn rule. I've put in messages but this hasnt changed any of it |
# |
Jul 13th 2018, 15:33 |
Diego_ |
https://pastebin.com/NQWuSJju |
# |
Jul 13th 2018, 15:30 |
Diego_ |
try to set message in RulesChecker |
# |
Jul 13th 2018, 15:20 |
awitte |
hi. Someone arround who can explan me why $table->checkRules($entity) return false, but $entity->errors() is an empty array? |
# |
Jul 13th 2018, 14:56 |
josbeir |
have you defined the default queue configuration? :P |
# |
Jul 13th 2018, 14:14 |
marco_e |
Hi, does anyone have cake-websocket installed and running? I get an error while starting the Server "The "default" queue configuration does not exist." |
# |
Jul 13th 2018, 14:08 |
zmurphy |
I've added some caching to one of my queries and now on occasion I get the error `Call to a member function flock() on null` when using the query. Does anyone know what might cause or solve this? |
# |
Jul 13th 2018, 14:00 |
sheraliqureshi.mhtech |
? |
# |
Jul 13th 2018, 14:00 |
sheraliqureshi.mhtech |
any one knw how i fixed |
# |
Jul 13th 2018, 14:00 |
sheraliqureshi.mhtech |
? |
# |
Jul 13th 2018, 14:00 |
sheraliqureshi.mhtech |
i m facing error in connecting sugar crm with cakephp |
# |
Jul 13th 2018, 13:59 |
dereuromark |
i was mentioning the default case. as outlined in the ticket |
# |
Jul 13th 2018, 13:59 |
ricksaccous |
oh wow |
# |
Jul 13th 2018, 13:59 |
dereuromark |
it already exists since 3.0 |
# |
Jul 13th 2018, 13:59 |
ricksaccous |
or are you just showing me the progress of the RFC enhancement lol |
# |
Jul 13th 2018, 13:58 |
ricksaccous |
or some configShallow method |
# |
Jul 13th 2018, 13:58 |
ricksaccous |
@dereuromark thanks I suppose in 3.6 there is some shallowMerge method I could use or something? |
# |
Jul 13th 2018, 13:57 |
sheraliqureshi.mhtech |
thankyou |
# |
Jul 13th 2018, 13:57 |
sheraliqureshi.mhtech |
? |
# |
Jul 13th 2018, 13:57 |
sheraliqureshi.mhtech |
tias() like this |
# |
Jul 13th 2018, 13:57 |
dereuromark |
Mr Bot 4 knows: dd() and debug() are also known in cake |
# |
Jul 13th 2018, 13:56 |
slackebot |
!tias |
# |
Jul 13th 2018, 13:56 |
slackebot |
Command sent from Slack by dereuromark: |
# |
Jul 13th 2018, 13:56 |
dereuromark |
tias |
# |
Jul 13th 2018, 13:56 |
sheraliqureshi.mhtech |
we use echo in php and dd in laravel what we use in cake php |
# |
Jul 13th 2018, 13:56 |
sheraliqureshi.mhtech |
@lorenzo we use echo in php and dd in laravel what we use in cake php |