Log message #4221304

# At Username Text
# Jan 7th 2020, 15:10 ndm Nobody gave me a berry, the list is rigged!
# Jan 7th 2020, 15:09 admad but you can, just add "minimum-stablity": "beta" to your composer
# Jan 7th 2020, 15:09 martin we are working on a new version of our project now, it will take a few months of development, so I think it is a good choice to upgrade to cake 4 in that branch asap :P
# Jan 7th 2020, 15:08 martin I think crud is the only dependency for us to not able to upgrade to cake 4 yet :)
# Jan 7th 2020, 15:04 admad ;)
# Jan 7th 2020, 15:04 martin haha good way to do that :)
# Jan 7th 2020, 15:03 admad https://github.com/friendsofcake/awesome-cakephp all Cake 4 compatible ones have :strawberry: icon
# Jan 7th 2020, 15:02 tibor.hajos @admad I'll definitely do that. I'm still running it on 3.x and it works like a charm
# Jan 7th 2020, 15:02 martin ah ok :)
# Jan 7th 2020, 15:01 admad @martin there's already a Cake 4 compatible beta release https://github.com/FriendsOfCake/crud/releases
# Jan 7th 2020, 15:00 admad if you are using it and find any bugs submit issues or PRs :)
# Jan 7th 2020, 14:59 admad @tibor.hajos there's nothing specific on the roadmap expect for Cake 4 compatibility which has already been achieved.
# Jan 7th 2020, 14:56 tibor.hajos @martin Judging by the status page https://travis-ci.org/FriendsOfCake/crud/builds/629372089?utm_source=github_statusandutm_medium=notification I think it's in beta. I would also like to know what the roadmap for crud is. I'd love to help out, as I think crud is genius
# Jan 7th 2020, 14:46 ndm And https://symfony.com/doc/current/components/finder.html for if you don't like to use PHP's native iterators directly.
# Jan 7th 2020, 14:42 ricksaccous i just googled and found that
# Jan 7th 2020, 14:42 ricksaccous https://symfony.com/doc/current/components/filesystem.html
# Jan 7th 2020, 14:42 ricksaccous you can replace it with whatever
# Jan 7th 2020, 14:41 alexdd55976 actually its zero fun and not working as expected
# Jan 7th 2020, 14:40 alexdd55976 fellows... Filesystem/Folder/File is `deprecated`because its gonne be kicked out in 5.0 .. what to use instead? `RecursiveDirectoryIterator``
# Jan 7th 2020, 13:44 martin https://github.com/FriendsOfCake/crud/tree/cake-4.x < I see there is a branch, but not competed yet I think?
# Jan 7th 2020, 13:44 martin what are the plans of friendsofcake/crud for cake 4?
# Jan 7th 2020, 13:39 alexdd55976 sounds good
# Jan 7th 2020, 13:39 dereuromark same same, but maybe that gives a bit of time to find and fix the issue
# Jan 7th 2020, 13:39 alexdd55976 i seriously want to avoid that, but for the current state in developemnt it is acceptable.
# Jan 7th 2020, 13:38 alexdd55976 nope. i didn't. i went to the appview to set the layout there.
# Jan 7th 2020, 13:38 dereuromark I have sth similar with view ext not being respected. Tests are green, but in real life it doesnt take my changes.
# Jan 7th 2020, 13:38 dereuromark @alexdd55976 Did you solve your layout problem?
# Jan 7th 2020, 13:27 dereuromark Or wrap what you want as own custom extension.
# Jan 7th 2020, 13:27 dereuromark this would be costly for runtime. Best to refactor your queries to not have alias usage.
# Jan 7th 2020, 13:25 val @ndm thanks. I think it would be good to optionally support aliases, i.e. no alias by default but use an alias if it is provided as a param.
# Jan 7th 2020, 13:16 slackebot a raw query.
# Jan 7th 2020, 13:16 ndm @val One could possibly sneak it in by using `Query::update()` directly and passing a table name manually, like `->update('posts AS Posts')` but that's kinda hackish. Also note that aliases are being removed from `UPDATE` and `DELETE` query conditions for various reasons, among others to avoid problems with association conditions, and because aliases aren't supported (without additional clauses) in all dialects. So you may have to resort to using
# Jan 7th 2020, 13:06 etibor i use to generate PDF from the view also the WkHtmlToPDF but in my case i need to use a predefinied pdf file,because sometimes its change. I only want to pass variables for it
# Jan 7th 2020, 13:05 lubos I am wondering if there is core validation rules to check letters only? there is `alphaNumeric`, `numeric` but nothing to check [a-zA-Z]... do i need to use custom and regex?
# Jan 7th 2020, 13:02 jotpe @etibor I normally generate PDFs by generating html first and then use WkHtmlToPDF
# Jan 7th 2020, 13:00 jotpe It'sa old db, so I had to migrate a lot.
# Jan 7th 2020, 13:00 jotpe Deadlock :(
# Jan 7th 2020, 12:59 dereuromark You should have those fields nullable (default null).
# Jan 7th 2020, 12:59 dereuromark @jotpe See https://github.com/dereuromark/cakephp-setup/blob/master/src/Shell/DbMaintenanceShell.php#L394
# Jan 7th 2020, 12:59 jotpe I can't change the modified field to null, this rises the Exception ;)
# Jan 7th 2020, 12:58 etibor i know its not a real cake specific question but you may know .do you have good solution to generate PDF from current PDF pattern file,i was trying with FPDM but main problem i could not render a flatten pdf(without inputs just only texts)