Log message #4019804

# At Username Text
# Apr 24th 2017, 15:03 danielfpedro guys
# Apr 24th 2017, 15:03 spylinux Hi everyone!
# Apr 24th 2017, 14:59 Martin` ok :)
# Apr 24th 2017, 14:56 chrisso Allright, solved with `$table->schema()`
# Apr 24th 2017, 14:49 chrisso I'm creating a ImportBehavior. Should inside the behavior I use `debug( (new TableSchema($table->alias()))->columns() );` and want to get columns of the table, but it return an empty array. Does it return `[]` because it is in a test case with and empty test table?
# Apr 24th 2017, 13:46 dereuromark it really depends on the use case, often times the plugin mgirations are too generic or fit to the wrong DB engine etc. then you also want to customize.
# Apr 24th 2017, 13:45 elboletaire xd
# Apr 24th 2017, 13:45 elboletaire I'll update my deploy scripts then
# Apr 24th 2017, 13:45 elboletaire thanks anyway @dereuromark :slightly_smiling_face:
# Apr 24th 2017, 13:44 elboletaire hmmm... I thought plugin migrations had the required basics for that plugin to work. When I need to write migrations for my app related to the plugin I directly write them to my app.
# Apr 24th 2017, 13:43 dereuromark elboletaire you are oversimplying the issue. often times one even copies the plugin migrations to project and modifies them. it is dangerous to not explicitly run (and double run) them.
# Apr 24th 2017, 13:42 pedroseco not sure I found a param in http client so it works as a destination for $http->get()
# Apr 24th 2017, 13:42 elboletaire BTW it should not... unless those plugins communicate between them, it should not be the case
# Apr 24th 2017, 13:41 pedroseco hi guys. Should I use Cake\Network\Http\Client to download a remote file or should I jsut stick with Curl?
# Apr 24th 2017, 13:41 elboletaire yeah, I know
# Apr 24th 2017, 13:41 dereuromark there shouldnt be - this is critical to deploy, and order can matter
# Apr 24th 2017, 13:41 elboletaire yeah, but that means update my deploy script every time we add a new plugin, right?
# Apr 24th 2017, 13:41 elboletaire one by one? there's no command to run them all?
# Apr 24th 2017, 13:41 dereuromark multiple lines in your deploy script :slightly_smiling_face:
# Apr 24th 2017, 13:41 dereuromark you chain them
# Apr 24th 2017, 13:40 elboletaire Is there any way to run all plugin migrations at once? It's really needed under a CI/CD environment.
# Apr 24th 2017, 13:28 rudy1976s solved: i was asking for an old version that most probbly used to install it in plugins , boh
# Apr 24th 2017, 13:14 charolastra hmm, did the input type='range' disapear since 2.x?
# Apr 24th 2017, 13:09 rudy1976s I know it is reslly strange
# Apr 24th 2017, 13:01 chrisso I use the plugin myself, and it is installed as you would expect.
# Apr 24th 2017, 12:39 rudy1976s no I have not forked but only addeed it to my json
# Apr 24th 2017, 12:18 chrisso Unless you have forked the repo and required it as vcs
# Apr 24th 2017, 12:16 chrisso No
# Apr 24th 2017, 12:14 rudy1976s I am trying to install BootstrapUI: is normal that composer install it under Plugin folder instead of vendor/friendsofcake ?
# Apr 24th 2017, 12:11 jojomartius Hi, can i somehow we in my before find if its a direct requeset or called because its an association?
# Apr 24th 2017, 12:01 chrisso Sublime should render it correctly.
# Apr 24th 2017, 12:00 chrisso I didn't read that quote, but I have read about bom and know that some readers/systems can't read UTF-8 without bom.
# Apr 24th 2017, 11:53 digitalfotografen In my case it might be that I am testing with a forgiving text editor ;) and don't notice the problem. Have you seen this note in the docs? "Some reader software incorrectly renders UTF-8 encoded files which do not contain byte order mark (BOM) byte sequence. The _bom variable is the one used to add byte order mark (BOM) byte sequence beginning of the generated CSV output stream. See Wikipedia article about byte order mark for more
# Apr 24th 2017, 11:46 chrisso Reason I tested bom was that I couldn't get it encoded as UTF-8, but with bom I did.
# Apr 24th 2017, 11:45 chrisso Strange thing is that I had this issue several times in different projects and different actions where it has failed.
# Apr 24th 2017, 11:45 digitalfotografen @chrisso I must admit that I never tested the BOM-parameters. I use the plugin with default setup.
# Apr 24th 2017, 11:43 chrisso Something has to gone wrong earlier.
# Apr 24th 2017, 11:42 chrisso @digitalfotografen Strange, now it actually works without bom
# Apr 24th 2017, 11:41 aavrug How to get the values from query builder previous row of matching condition?
# Apr 24th 2017, 11:40 chrisso Yes, thats the plugin I'm using. If I set _bom to false, and tests the encoding (checking encoding with sublime console), it's no encoding. With bom, I get UTF-8 with BOM
# Apr 24th 2017, 11:37 digitalfotografen @chrisso Are You using the FriendsOfCake/cakephp-csvview? Have use this in one project and get utf-8 without bom and no special configuration.