Log message #4054518

# At Username Text
# Jul 20th 2017, 11:38 hmic mirec, usually the change works. there are things that do not - you might need to read the docs closely
# Jul 20th 2017, 11:38 mirec guys please.. when I make migrations with 'change' method, does it rollback correctly? Or do I need define 'up' and 'down' methods?
# Jul 20th 2017, 11:38 admad *anchors are..
# Jul 20th 2017, 11:37 hmic so you can Router::url() to it, but connecting a route does not make sense
# Jul 20th 2017, 11:37 admad anchors and not supported on server side. They are a client side construct.
# Jul 20th 2017, 11:37 hmic flxfoo: how should it connect ot an anchor? - it gets not send to the server ever!
# Jul 20th 2017, 11:36 flxfoo did anyone already used an achor in a router::connect, because for me it routes to the new URL but does not go to the anchor?
# Jul 20th 2017, 11:35 flxfoo hi all,
# Jul 20th 2017, 11:33 hmic Ecorce, cant quite follow, maybe you paste the code of the appcontroller and controller involved, including the paths to the files
# Jul 20th 2017, 11:32 neon1024 Hey @birdy247 are you here? This is the PR I keep referring to - about timezones - https://github.com/cakephp/cakephp/pull/8588
# Jul 20th 2017, 11:28 Ecorce (there's only Config.time in session, no more Auth.User)
# Jul 20th 2017, 11:28 Ecorce Just, $this->Auth->user() returns empty
# Jul 20th 2017, 11:28 Ecorce However, $this->Auth->allow doesn't throw an exception, so I guess Auth is loaded
# Jul 20th 2017, 11:26 Ecorce There was no problem before, when Auth was loaded in the basic AppController (not the one I created for the prefix)
# Jul 20th 2017, 11:25 Ecorce And I don't understand why
# Jul 20th 2017, 11:25 Ecorce after login, any action returns null when I get $this->Auth->user()
# Jul 20th 2017, 11:24 Ecorce Finally I was wrong, my Auth session disappears when calling an action (after login, which succeeds and create a session, that I can get with $this->Auth->user())
# Jul 20th 2017, 11:24 hmic you have checked the namespaces of all files involved?
# Jul 20th 2017, 11:23 hmic do tell
# Jul 20th 2017, 11:21 Ecorce Still in trouble with the AuthComponent, loaded in the AppController of my prefix folder
# Jul 20th 2017, 11:20 Ecorce Hello, I'm back again
# Jul 20th 2017, 10:52 andri_ i have only one rule in buildRules.... $rules->add($rules->isUnique(['id']))
# Jul 20th 2017, 10:52 mirec take a look on generated queries in your sql log
# Jul 20th 2017, 10:52 mirec or not.. I guess there is some null check in existsin rule... would be silly not to check null values
# Jul 20th 2017, 10:51 mirec seems like thing with buildRules. rule existsIn ?
# Jul 20th 2017, 10:50 andri_ but once i enter an existing id for it. it gives me that error.
# Jul 20th 2017, 10:49 andri_ the entity can be saved if foreign_key_id == NULL
# Jul 20th 2017, 10:49 mirec what SQL query is generated?
# Jul 20th 2017, 10:48 andri_ yes
# Jul 20th 2017, 10:47 mirec is your association have configured as 'joinType' => 'left' ?
# Jul 20th 2017, 10:46 andri_ the error says record not found in table ... with primary key [NULL]
# Jul 20th 2017, 10:46 andri_ i can't save my entity that has a belongsTo association and its foreign_key previously set to null in database.
# Jul 20th 2017, 10:25 dinosaur I have this on plugin::router.php Router::plugin( 'ContatoHandler', function (RouteBuilder $routes) { Router::connect('/ContatoHandler/Contato' , ['controller' => 'Contato', 'action' => 'index', 'plugin'=>'Aplicar/ContatoHandler']); } );
# Jul 20th 2017, 10:24 dinosaur I have a route issue to a plugin. If I call http://localhost/ContatoHandler/Contato/1> I got an error saying that that is no route to this and show the valid routes. There /ContatoHandler/Contato [ 'controller' => 'Contato', 'action' => 'index', 'plugin' => 'Aplicar/ContatoHandler' ] is shown. But when I call, <http://localhost/ContatoHandler/Contato a redirect to "/" occurs
# Jul 20th 2017, 10:22 dinosaur Good Morning
# Jul 20th 2017, 10:21 rogerpro thank you
# Jul 20th 2017, 10:21 rogerpro from phinxlog table. great! it works :slightly_smiling_face:
# Jul 20th 2017, 10:09 dereuromark delete it from the DB table
# Jul 20th 2017, 09:59 rogerpro and restoring old file schema-dump-default.lock doesn’t work
# Jul 20th 2017, 09:57 rogerpro If `$ bin/cake migrations status` says ```up 20170719154742 Foo ** MISSING **``` how can I remove this 20170719154742 ? is it on the cache? I deleted the file while testing but it remains something somewhere… :thinking_face:
# Jul 20th 2017, 09:55 ldsign Hi. Is it possible to render the (viewClass) layout, but not the (method-specific) template?