Log message #4208535

# At Username Text
# Oct 12th 2019, 14:35 ttn no. How do i manage this?
# Oct 12th 2019, 13:31 slackebot1 if i write $this->myEntity->save($myEntity) it saves the data to the database BUT crud seems to persist it again automatically, but this time it uses the entity that was not modified like myEntity. This leads to an error message shown in flash that the entity could not be saved. How to work around this? Using a custom saveMethod? How to implement a custom save method?
# Oct 12th 2019, 13:31 ttn Hi there. I need help using Crud and CrudView. I have written a custom add() action for a controller. I create an entity with $myEntity = $this->entity->newEntity(). I read the data i get from the form via POST with $this->request->is('post'). I patch an entity using $myEntity = patchEntity($myEntity, $this->request->getData()). Then i modify some attriubtes of the myEntity object. Finally, i want to save this entity. But now with crud enabled
# Oct 12th 2019, 13:05 damiano there is a plugin but it seems not very followed
# Oct 12th 2019, 13:05 damiano @kazunanakama hey i wrote the same thing, i need mongodb
# Oct 12th 2019, 11:44 kazunanakama Anybody know if there will be a MongoDB Datasource made for 4?
# Oct 12th 2019, 11:43 slackebot1 <kazunanakama>
# Oct 12th 2019, 10:20 slackebot1 !help
# Oct 12th 2019, 10:20 slackebot1 Command sent from Slack by challgren:
# Oct 12th 2019, 09:23 kazunanakama Problem 1 - Installation request for cakephp/cakephp 4.0.0-beta4 -> satisfiable by cakephp/cakephp[4.0.0-beta4]. - cakephp/cakephp 4.0.0-beta4 requires cakephp/chronos 2.x-dev as 2.0.0 -> satisfiable by cakephp/chronos[2.x-dev] but these conflict with your requirements or minimum-stability.
# Oct 12th 2019, 09:23 kazunanakama I tried creating a new project and then upgrading
# Oct 12th 2019, 09:06 kazunanakama Anybody get CakePHP 4.0 to run yet?
# Oct 12th 2019, 09:03 damiano heavy and slow
# Oct 12th 2019, 09:03 damiano so when i do field = 'domething' it is basically a complete scan over the table
# Oct 12th 2019, 09:02 damiano @challgren yeah i thought the same, mariadb also has dinamic column (less or more the same) the problem is that i cannot index them
# Oct 12th 2019, 09:02 challgren Json fields?
# Oct 12th 2019, 09:02 damiano it si very hard to mantain
# Oct 12th 2019, 09:02 damiano i mean for each user defined field i should create a join,
# Oct 12th 2019, 09:01 damiano @challgren i thought about mongodb for EAV reason i need to implement user defined fields and with mysql does not seem very easy
# Oct 12th 2019, 08:55 challgren Not sure honestly I'm just googling cakephp and mongodb I don't use mongo at all
# Oct 12th 2019, 08:52 damiano hmm this? https://github.com/lewestopher/cakephp-monga three years ago
# Oct 12th 2019, 08:51 challgren Maybe github.com/friendsofcake/awesome-cakephp will have something that works
# Oct 12th 2019, 08:50 damiano thi slibrary does not seem very followed
# Oct 12th 2019, 08:50 damiano pagination is a crucial part
# Oct 12th 2019, 08:50 damiano https://github.com/tiaguinho/mongodb-cakephp3/issues/26 <-- this for example
# Oct 12th 2019, 08:50 damiano @challgren i think there are problems with that library :(
# Oct 12th 2019, 08:49 slackebot1 !tias
# Oct 12th 2019, 08:49 slackebot1 Command sent from Slack by challgren:
# Oct 12th 2019, 07:23 damiano Hmm
# Oct 12th 2019, 07:03 kazunanakama I believe so
# Oct 12th 2019, 05:40 damiano @challgren should I change many things to use mongodb? For example the AuthComponent, does it run with Mongo too?
# Oct 11th 2019, 23:51 challgren @damiano https://packagist.org/packages/hayko/mongodb
# Oct 11th 2019, 23:20 damiano can we use MongoDB with Cakephp 3.8?
# Oct 11th 2019, 23:19 damiano hi
# Oct 11th 2019, 22:11 asdfgh hello, do you know a good plugin to compress html/css ?
# Oct 11th 2019, 22:06 kazunanakama my Posts entity already has a _getAuthor() and _getParentThread() function
# Oct 11th 2019, 22:05 kazunanakama how would I pass those two things?
# Oct 11th 2019, 22:05 kazunanakama like $forum->latest_post($project->id, $forum->id)
# Oct 11th 2019, 22:04 kazunanakama but I need to pass the project as well
# Oct 11th 2019, 22:03 kazunanakama or $forum->latest_post->parent_thread->title
# Oct 11th 2019, 22:03 kazunanakama I want something like $forum->latest_post->author->username