Log message #4151102

# At Username Text
# Jun 13th 2018, 15:19 itmpls well, it creates 'audit_stash_phinxlog' but not audit_stash for example
# Jun 13th 2018, 15:18 neon1024 Which included BC breaks
# Jun 13th 2018, 15:18 itmpls oh
# Jun 13th 2018, 15:18 neon1024 Do bear in mind that Phinx was recently updated
# Jun 13th 2018, 15:18 neon1024 Well plugins with correct migrations should create a `pluginName_phinxlog` table
# Jun 13th 2018, 15:18 itmpls this one specifically: https://github.com/lorenzo/audit-stash/blob/master/src/config/Migrations/20171018185609_CreateAuditLogs.php
# Jun 13th 2018, 15:18 itmpls anyone know why a migration would create a _phinxlog table and the migration appears to work when running migrate -p Foo -t blah but the actual table isn't created?
# Jun 13th 2018, 14:37 zmurphy Ah, didn't even think of that. Thanks
# Jun 13th 2018, 14:36 jeremyharris if you are mixing new with existing, then the other format is probably the way to go. association.0.id if it exists, association.1.name for new ones
# Jun 13th 2018, 14:34 zmurphy What's the appropriate way in a form to set up controls for both attaching an existing association and adding a new one. I know for existing I can use `$this->Form->control('association._ids', ['options' => $association])` but would that conflict with also having an option to add new associations?
# Jun 13th 2018, 13:21 josbeir classic, should v mentioned that :P
# Jun 13th 2018, 13:19 Martin` ok fixed my problem, I had to add contacts to the accessible array of the entity :P
# Jun 13th 2018, 13:08 josbeir oh snap !
# Jun 13th 2018, 13:07 dereuromark hah, didnt know that these threads are also all published at https://irc.cakephp.org/ :P
# Jun 13th 2018, 13:07 josbeir i'll do my best !
# Jun 13th 2018, 13:07 josbeir didnt investigate it in detail, sorry
# Jun 13th 2018, 13:07 dereuromark only if you help me to make them more awesome though :P
# Jun 13th 2018, 13:07 josbeir :) ok
# Jun 13th 2018, 13:06 dereuromark but you are free to use some cakephp plugins from me :)
# Jun 13th 2018, 13:06 dereuromark those are not plugins, neither are they open source (open code).
# Jun 13th 2018, 13:01 josbeir i could maybe use some plugins for your project ;)
# Jun 13th 2018, 13:01 josbeir but i guess i'll continue building it like that for now, i liked my elasticsearch first aproach, that tech is mature enough these days to do it like that
# Jun 13th 2018, 13:00 josbeir 100k inventory
# Jun 13th 2018, 13:00 josbeir well, i was planning to build a platform to host all those small ones on
# Jun 13th 2018, 12:59 josbeir alright, thats what i tought
# Jun 13th 2018, 12:52 Martin` no did not fix it
# Jun 13th 2018, 12:51 Martin` lets try to be sure. but I see content that I did put in database in variables
# Jun 13th 2018, 12:50 josbeir make sure your table gets detected etc...
# Jun 13th 2018, 12:49 josbeir did you just create the table? maybe clear the ORM cache
# Jun 13th 2018, 12:48 Martin` and I'm also doing it in an other controller there it works fine
# Jun 13th 2018, 12:47 Martin` well it is not really a small project
# Jun 13th 2018, 12:47 josbeir ye
# Jun 13th 2018, 12:47 Martin` crud?
# Jun 13th 2018, 12:46 dereuromark I dont think it is good for small projects :)#
# Jun 13th 2018, 12:45 josbeir right, no experience with that..
# Jun 13th 2018, 12:45 Martin` I'm using the crud plugin
# Jun 13th 2018, 12:44 josbeir where the form data gets converted to an entity and when the save happens
# Jun 13th 2018, 12:44 josbeir Martin, can you show us your action code ?
# Jun 13th 2018, 12:43 Martin` really don't see what I'm doing wrong :(
# Jun 13th 2018, 12:37 josbeir am actually 'in the market' for a new platform to put a bunch of ecommerce stores on i manage in cake 2 at the moment. Started a clean slate now in cake3 but maybe this is better... :slightly_smiling_face:
# Jun 13th 2018, 12:36 Martin` Help! I don't see why I'm failing! I'm trying to save a belongsToMany relation but it does not save the relation looks like this. https://gist.github.com/blieb/1d6190d8150e9b02dc13a39fd307dc5c in de html I've multiple fields with name contacts[_ids][]