# |
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 |
# |
Jul 13th 2018, 13:43 |
dereuromark |
Modicrumb: see the open ticket for shallowMerge() as default :slightly_smiling_face: |
# |
Jul 13th 2018, 13:43 |
josbeir |
public function setConfig($key, $value = null, $merge = true) |
# |
Jul 13th 2018, 13:42 |
josbeir |
try to pass that as false |
# |
Jul 13th 2018, 13:42 |
josbeir |
'merge' |
# |
Jul 13th 2018, 13:42 |
josbeir |
setConfig has a second argument i think |
# |
Jul 13th 2018, 13:24 |
ricksaccous |
(I'm trying to use mine instead of FormAuthenticate) |
# |
Jul 13th 2018, 13:23 |
ricksaccous |
how do i remove Authenticators I am not intersted in using? |