Log message #3913255

# At Username Text
# Jul 26th 2016, 10:14 al_x_mq `$table->save($item)`is not working at all for me in a single controller. i created a new entity (object is fine) but the save() call gives nothing back
# Jul 26th 2016, 10:03 Neon1024 Has anyone made a data type for bitmask / bitwise yet?
# Jul 26th 2016, 10:01 ankr tobasco try check this out http://book.cakephp.org/3.0/en/orm/query-builder.html#using-sql-functions
# Jul 26th 2016, 09:57 bernat Hi. I'm calling find('threaded') in my controller and since I've added this call I'm getting error: session_start(): Failed to decode session object. Session has been destroyed
# Jul 26th 2016, 09:45 dariolap Hi all, i want to do tests for shell files with phpunit. Any suggests?
# Jul 26th 2016, 09:44 aro is there a way to get cake to use temporary tables
# Jul 26th 2016, 09:35 tobasco thanks
# Jul 26th 2016, 09:35 tobasco can anybody verify this query, i get a syntax error because cakephp does some crazy names with AS in the SQL query. Am I doing it wrong or is it a bug? http://pastie.org/private/ntamavaveov8yxlmjjewaa
# Jul 26th 2016, 09:17 Meowcate Neon1024: Thanks for that
# Jul 26th 2016, 09:13 Neon1024 Itâ??s a king of shorthand instead of [â??Shopsâ?? => [â??Citiesâ?? => [â??Countriesâ??], â??Managersâ??]
# Jul 26th 2016, 09:12 Neon1024 Meowcate: Itâ??ll return data for everything contained, so Shops, Cities, Countries and Managers
# Jul 26th 2016, 09:11 sonu_nk but seems not working..
# Jul 26th 2016, 09:11 sonu_nk I need your help to setup virtual host, i have a live project which is running on this ip like eg: 156.15.28.15 . and i want to run project on my ubuntu machine with same url like eg : 156.15.28.15 instead of localhost .. i also followed steps from here https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts
# Jul 26th 2016, 08:52 Meowcate About contain() and this 4th example : http://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#eager-loading-associations , will the query return datas about products, countries and managers, or also about shops and cities ?
# Jul 26th 2016, 08:40 Neon1024 Np
# Jul 26th 2016, 08:37 joris_ i regenerated the migrations file but not the table class xD
# Jul 26th 2016, 08:37 joris_ the first time i generated the migrations file, it auto created the id field
# Jul 26th 2016, 08:36 Neon1024 Ahok :D
# Jul 26th 2016, 08:36 joris_ neon1024: you owned it, primaryKey was pointing to id
# Jul 26th 2016, 08:36 Neon1024 As your system will fail with two readings taken at the same time
# Jul 26th 2016, 08:35 Neon1024 Or create your own data type class which does that conversion for you
# Jul 26th 2016, 08:35 Neon1024 You might need to manually cast the datetime object to a string
# Jul 26th 2016, 08:35 Neon1024 Also Iâ??m not sure how that will work, as DateTime in Cake is an object, whereas the primaryKey will probably be assumed to be an int or string
# Jul 26th 2016, 08:35 Neon1024 Did you configure the Table class Measurements to know that the datetime field is the primary key?
# Jul 26th 2016, 08:34 joris_ you can see the migrations file in the gist, i only used datetime and float
# Jul 26th 2016, 08:33 Neon1024 Probably ENUM would be my guess
# Jul 26th 2016, 08:33 Neon1024 Then your database has a column type which cake doesnâ??t understand
# Jul 26th 2016, 08:33 joris_ I created a small gist to show the used code: https://gist.github.com/jorisvaesen/8950df804da8b7bdf0565932efc1456b
# Jul 26th 2016, 08:32 joris_ The db gets created correctly, but when i want to save a new record it gives me the unknown type error on Database/Type.php
# Jul 26th 2016, 08:31 joris_ I'm using migrations to create the tables (1 at the moment for testing)
# Jul 26th 2016, 08:31 joris_ Anyone who can help with setting up cake 3 with an sqlite db ?
# Jul 26th 2016, 08:28 joris_ Hello all
# Jul 26th 2016, 08:27 mirec thanks. dynamic binding sounds good enough
# Jul 26th 2016, 08:26 Neon1024 Which just means, loading the behavior as and when you need it, rather than using the Table classes initialize() method
# Jul 26th 2016, 08:26 Neon1024 If you need multiple configs of the same behavior, Iâ??d be thinking more about doing dynamic binding
# Jul 26th 2016, 08:25 Neon1024 As behaviors in cake 3 are not indexed by model any more
# Jul 26th 2016, 08:25 Neon1024 Otherwise BehaviorCollection::name() would return just one instance
# Jul 26th 2016, 08:24 Neon1024 Plus, I donâ??t think it is possible without aliasing it as another name in the BehaviorCollection
# Jul 26th 2016, 08:24 Neon1024 Why would you want to?
# Jul 26th 2016, 08:18 ra7bi i think yes
# Jul 26th 2016, 08:16 mirec it is possible to bind the same behavior on a table multiple times with different configuration?