Log message #4123798

# At Username Text
# Mar 12th 2018, 04:33 loginews oh ok
# Mar 12th 2018, 04:33 joddit Mark it read only
# Mar 12th 2018, 04:33 savant otherwise people will just put 0 and make all your stuff free.
# Mar 12th 2018, 04:33 savant but you should not trust your clients to submit pricing options like that
# Mar 12th 2018, 04:32 savant you can calculate it client side
# Mar 12th 2018, 04:32 savant do that calculation on the server side
# Mar 12th 2018, 04:32 loginews I use js
# Mar 12th 2018, 04:32 loginews qty * unitprice
# Mar 12th 2018, 04:32 loginews it's a calculated field.
# Mar 12th 2018, 04:32 savant what exactly are you trying to do
# Mar 12th 2018, 04:31 savant if its set to disabled, then the browser submitting the form might not submit it at all..
# Mar 12th 2018, 04:31 loginews Sorry to disturb. I have a simple question, if you don't mind. I have a field "amount" in edit.ctp for which I have set the option 'disabled'=> 'disabled' If I programmatically, through js, put a value in that field... is it normal that it does not get saved ?
# Mar 12th 2018, 04:26 savant hi
# Mar 12th 2018, 04:26 joddit Hey all
# Mar 12th 2018, 03:31 savant going to nashville for cakefest?
# Mar 12th 2018, 03:30 cpierce sames
# Mar 12th 2018, 03:29 savant just work
# Mar 12th 2018, 03:29 savant pretty alright
# 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