Compiled views were not being executed in apps containing only compiled
files (i.e., generated via the admin "Pack compiled" functionality),
resulting in "Invalid view" errors for all pages.
The "current" may have been altered by the controller. This is the case for admin/controllers/shell.py, in callback(), where a new shell environment is created (from gluon/shell)
If this happens, the incorrect "response" is being referenced and the output of the controller is lost.
When packing a compiled app, and distributing it without the non-compiled view views, run_view_in searches only the old style compiled view file: e.g. views_default_index.html.pyc and not in views.default.index.html.pyc, resulting in "invalid view (default/index.html)" 404 Exception.
A new post_vars parameter allows controllers to pass POST varaibles through LOAD as appropriate. GET variables are currently passed by default (via vars).
* master: (58 commits)
changed version number
better types by default, given that we're on 2005 at least
fix for StorageList and tests added
improved coverage, fix bug with IS_LIST_OF and items not being strings
fix cache.increment, added tests
R-2.9.11
reverted simplejson
R-2.9.10
upgraded memcache and markdown2
upgraded pypyodbc.py
upgraded simplejson
no more split in contains, thanks Niphlod
fixed wording and bug on contains(), made smart_query use ilike instead of like
ilike, thanks Niphlod
CROSS JOIN, thanks jotbe
added custom represent to GoogleDatastoreAdapter, thanks Alan
postgresql: identifies what adapter auto-loads json values
added more tests for json Field
fixed typo in driver_auto_json
Improve the graphing to show the name of the application.
...
Conflicts:
gluon/dal.py
gluon/globals.py
gluon/tests/test_dal.py
LOAD didn't work on action decorated with @request.restful() when args and/or vars are passed because the restful method is called with the main "request" object (browser url action) instead of the "other_request" object used by LOAD.
So I have injected the restful method with the good object context.
It's a bit nasty, so if someone knows how to do it better, I'm happy.