# |
Jul 14th 2018, 10:34 |
neon1024 |
Then you could automate some of that process :slightly_smiling_face: |
# |
Jul 14th 2018, 10:34 |
neon1024 |
I can't recall if there is a Rector setup for 3.5 -> 3.6 |
# |
Jul 14th 2018, 10:33 |
neon1024 |
And you can do Replace in path too, then specify the find, replace and the path to look in, which is probably /src |
# |
Jul 14th 2018, 10:33 |
neon1024 |
It's in Edit > Find > Find in path |
# |
Jul 14th 2018, 10:32 |
neon1024 |
Do the same |
# |
Jul 14th 2018, 10:32 |
kitcat711 |
neon1024 : I mean, for instance I want to change the use of classes in all files of my project that are using them, with ST3 the "Finf in files" and "replace" function does it, in PHP Storm, I am still looking how to do it |
# |
Jul 14th 2018, 10:30 |
neon1024 |
Sorry, I don't know what you mean. |
# |
Jul 14th 2018, 10:28 |
kitcat711 |
neon1024 : PHP Storm seems to be powerfull but appears complex: for instance changing use Cake\whatever in my project is not even simple |
# |
Jul 14th 2018, 10:26 |
neon1024 |
I quite like Sublime, but I'd need to find a plugin for the static analysis |
# |
Jul 14th 2018, 10:26 |
slackebot |
Action: neon1024 waits for someone to extol the virtues of Vim |
# |
Jul 14th 2018, 10:25 |
neon1024 |
I used to like Aptana way back and I found Netbeans to be a bit sluggish |
# |
Jul 14th 2018, 10:25 |
neon1024 |
I've grown to love PHP Storm. I'm not sure what I'll do should my license expire. I use my work license :P |
# |
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 |