appengine-magic icon indicating copy to clipboard operation
appengine-magic copied to clipboard

Namespaces/Multitenancy issue and fix

Open pbridger opened this issue 12 years ago • 1 comments

The local_env_helper ApiProxy proxy creates a new, empty HashMap every time getAttributes is called. Since namespace is kept in here, it will never be set persistently.

(getAttributes )

I just created an environment-attributes atom, return it from getAttributes, clear it in the environment clearing function. Works okay so far.

pbridger avatar Aug 30 '12 04:08 pbridger

Seems like a pretty good idea. I'll incorporate this into the next version (which I do intend to get to sometime soon!).

gcv avatar Aug 30 '12 17:08 gcv