Log message #4171273

# At Username Text
# Dec 28th 2018, 11:00 G00DSP33D Hi all, great to be here amongst fellow CakePHP devs! I have a quick question about validating complex data types (JSON) in CakePHP 3.x as we are in the middle of a migration of our CMS system. Anybody care to give some advice / pointers?
# Dec 28th 2018, 10:53 birdy247 Think I have found it
# Dec 28th 2018, 10:52 slackebot <birdy247>
# Dec 28th 2018, 10:52 birdy247 Hmmm
# Dec 28th 2018, 10:51 steinkel let me know, the plugin should not be dealing with that AFAIR
# Dec 28th 2018, 10:50 birdy247 to pin this down to the plugin
# Dec 28th 2018, 10:50 birdy247 ill try in my app
# Dec 28th 2018, 10:49 dereuromark also detects nullables etc (made it possible for me to see and remove some of the bad nullables in the db)
# Dec 28th 2018, 10:49 dereuromark tip: use Ide helper to annotate, it will detect the types and make it all visible per entity
# Dec 28th 2018, 10:49 birdy247 its a getRequest
# Dec 28th 2018, 10:48 birdy247 @steinkel know of any reason why my entities would not be using immutable dateTimes
# Dec 28th 2018, 10:48 dereuromark then they might switch the config or manually do sth here
# Dec 28th 2018, 10:48 birdy247 FYI, this is the cakeDC/API that is handling the request
# Dec 28th 2018, 10:48 birdy247 but this was never an issue before
# Dec 28th 2018, 10:47 birdy247 and I can see why
# Dec 28th 2018, 10:47 nayakvradhit Ok sure thank you for your approach
# Dec 28th 2018, 10:47 birdy247 What led me to investigate was something else is broken
# Dec 28th 2018, 10:47 birdy247 I dont believe it was always like this
# Dec 28th 2018, 10:47 dereuromark for me its frozenTime then
# Dec 28th 2018, 10:47 dereuromark interesting
# Dec 28th 2018, 10:45 birdy247 bootstrap
# Dec 28th 2018, 10:45 slackebot <birdy247>
# Dec 28th 2018, 10:45 dereuromark read the docs about the immutable one in bootstrap
# Dec 28th 2018, 10:45 birdy247 It thinks its a time?
# Dec 28th 2018, 10:45 dereuromark bad config :slightly_smiling_face:
# Dec 28th 2018, 10:44 slackebot <birdy247>
# Dec 28th 2018, 10:44 birdy247 gives this
# Dec 28th 2018, 10:43 dereuromark easy to verify using debug() dd() etc
# Dec 28th 2018, 10:42 dereuromark depends on your config, but ideally yes
# Dec 28th 2018, 10:42 birdy247 should the datetime be immutable?
# Dec 28th 2018, 10:42 birdy247 if I am getting an entity with a datetime
# Dec 28th 2018, 10:07 dereuromark :) in these cases it is simplier to work with the input already available. also less issues in validation
# Dec 28th 2018, 09:55 birdy247 providing feedback
# Dec 28th 2018, 09:45 dereuromark so you are complaining?^^
# Dec 28th 2018, 09:37 tomas.saghy I’d also like to ask, what is now preffered way to replace Validator notEmpty check.
# Dec 28th 2018, 09:37 birdy247 but image uses fullBase
# Dec 28th 2018, 09:36 birdy247 I just find it confusing how Html->link use _fullBase, _host etc..
# Dec 28th 2018, 09:33 dereuromark its a principle
# Dec 28th 2018, 09:31 birdy247 Just an idea
# Dec 28th 2018, 09:31 birdy247 I am not complaining lol
# Dec 28th 2018, 09:31 birdy247 You disagree?