Log message #4123776

# At Username Text
# Mar 12th 2018, 03:29 cpierce how you doing Jose?
# Mar 12th 2018, 03:29 cpierce heh
# Mar 12th 2018, 03:29 savant heh ok
# Mar 12th 2018, 03:29 cpierce n/m i got it
# Mar 12th 2018, 03:29 savant which plugin is that
# Mar 12th 2018, 03:28 cpierce i'm trying to use Dueromark's Google Map helper and I'm not quit sure where to put the Google Key ... can someone help?
# Mar 12th 2018, 01:20 angelxmoreno yep, RouteCollection::match tries to match the newly constructed url and throws and exception because it can not match it. I figure adding `'prefix' => null` to the AuthComponent config's `'loginAction'` could make the compare work
# Mar 12th 2018, 01:14 angelxmoreno looks like the route constructed by the auth component's isLoginAction is throwing a MissingRoute exception when merging the config['loginAction] array with the current route params
# Mar 12th 2018, 00:59 angelxmoreno pretty sure it is the settings i am giving the auth component. when i turn Auth off it works as expected. I will indeed check where the error is coming from. should be fun
# Mar 12th 2018, 00:57 savant i would check the stacktrace to see where that error is coming from
# Mar 12th 2018, 00:57 angelxmoreno :thinking_face:
# Mar 12th 2018, 00:57 savant not an Auth component
# Mar 12th 2018, 00:56 savant something is linking to an Auth controller
# Mar 12th 2018, 00:55 slackebot 'Auth', 'action' => 'login', '_ext' => NULL, )" could not be found.`
# Mar 12th 2018, 00:55 angelxmoreno fml, now the Auth component is crying ``` Router::scope('/', function (RouteBuilder $routes) { $routes->prefix('api', function (RouteBuilder $routes) { $routes->connect('/finances/events', [ 'plugin' => 'Finances', 'controller' => 'Dashboard', 'action' => 'events', ]); }); ... ``` `Error: A route matching "array ( 'prefix' => 'api', 'plugin' => NULL, 'controller' =>
# Mar 12th 2018, 00:54 angelxmoreno it should have made sense to me
# Mar 12th 2018, 00:54 savant amirite
# Mar 12th 2018, 00:54 savant statics
# Mar 12th 2018, 00:53 angelxmoreno smh
# Mar 12th 2018, 00:53 savant otherwise I think it uses the global scope.
# Mar 12th 2018, 00:53 savant you need to do it off the route builder
# Mar 12th 2018, 00:53 savant $routes->prefix
# Mar 12th 2018, 00:53 savant $routes->connect
# Mar 12th 2018, 00:52 angelxmoreno ok, i lied, i can not make it what i want :( ``` Router::scope('/', function (RouteBuilder $routes) { Router::prefix('api', function (RouteBuilder $routes) { Router::connect('/finances/events', [ 'plugin' => 'Finances', 'controller' => 'Dashboard', 'action' => 'events', ]); }); ```
# Mar 12th 2018, 00:50 dereuromark see my sandbox for prefix before plugin. thats my default.
# Mar 12th 2018, 00:50 savant not really at a computer atm, but I’d try that before trying `/finances/api/dashboard`
# Mar 12th 2018, 00:49 savant `/api/finances/dashboard`
# Mar 12th 2018, 00:49 savant so it might be something like
# Mar 12th 2018, 00:49 savant I think the prefix for plugins applies beforehand
# Mar 12th 2018, 00:48 angelxmoreno I am currently trying to migrate from Router::connect to Router::scope. just learning something new in Cake3
# Mar 12th 2018, 00:48 angelxmoreno the question is what is the 'default'routing. i know i can make it anything i want but was curious to know the default behavior or if the default is even compatible with that contoller namespace
# Mar 12th 2018, 00:28 savant whatever you want ti to be according to your routing
# Mar 12th 2018, 00:28 dereuromark Why do you need to ask? Just generate the URL via helper or Router::url() and see for yourself. It depends on your routing
# Mar 12th 2018, 00:19 angelxmoreno greetings bakers! I have a controller in a namespace like so `Finances\Controller\Api\Dashboard`, what is the default url given that plugin name and controller namespace ?
# Mar 11th 2018, 23:19 dereuromark cant be acl, it can be the cache of db, did you clear it after creating the tables?
# Mar 11th 2018, 23:19 bakro.istvan Could you please help me? Do you have any history the these two could work alongside?
# Mar 11th 2018, 23:18 bakro.istvan the this is just a wild guess.
# Mar 11th 2018, 23:18 bakro.istvan I was thinking about a possibility of conflict with the ACL plugin.
# Mar 11th 2018, 23:17 bakro.istvan Getting the entity I get the tags alongside,
# Mar 11th 2018, 23:17 bakro.istvan I tried to test the other way of retrieving tags. It work by manually creating two entries in the database (tags_tagged, tags_tags)
# Mar 11th 2018, 23:15 bakro.istvan When I posting a new people with the provided helper. The baked form posts the tags as string. I see that it gets processed. The original entity gets patched and in the TagsTable beforeSave event is firing. Whoever the tags does not gets created.