Mark Story

Results 653 comments of Mark Story

> Is this intentional? I noticed that the object properties are not refreshed, so I am not sure what's going on. Yes. Like @ndm2 stated. We have to query the...

An option could work. The `enableAutoFields()` call was added to solve #13181. The new option would cause usage problems with translated models. If the performance is a problem have you...

> They do not replace or refresh the properties of the root entity. Only the requested associations are attached as expected from loadInto. Is my assumption correct? Yes that is...

> $this->Form->input('listing_images. ' Using this as an input name is likely going to cause the FormContext to not be able to match your input field and the validation error in...

You could also use connection aliasing to give a predefined connection the name required for the active user database.

I wrote a blog post a few years back on doing something similar for a horizontally sharded database that uses connection aliasing http://mark-story.com/posts/view/using-cakephp-and-a-horizontally-sharded-database The blog post uses a `DispatchFilter` which...

> Ah, I see. I understood the issue so that every user has its own database, ie dozens and dozens of databases. If there are 100s to 1000s of databases...

If your requests end up going through `fetch()` DebugKit will not be able to capture them. The live logging relies on patching `XMLHttpRequest` and it is possible for libraries to...

https://github.com/cakephp/debug_kit/blob/master/webroot/js/toolbar.js#L60-L117 Is the code that adds the proxy. I'm not able to reproduce your problem so you'll need to help find the problem :smile:

Are there warnings in the browser console about forbidden access to headers? That header should be set by the Middleware in DebugKit when it saves a request.