lp://staging/~ocb/ocb-web/ocb-web-7.0_lp1193563_typeerror-expected_bytes
- Get this branch:
- bzr branch lp://staging/~ocb/ocb-web/ocb-web-7.0_lp1193563_typeerror-expected_bytes
Branch merges
- Holger Brunn (Therp): Approve (code review)
-
Diff: 38 lines (+4/-4)1 file modifiedaddons/web/controllers/main.py (+4/-4)
Related bugs
Bug #1193563: Can't print: raise TypeError('Expected bytes') in the logs | High | Fix Released |
Related blueprints
Branch information
Recent revisions
- 3992. By Ronald Portier (Therp)
-
[FIX] Prevent crash on creating report or doing export when newer version of
werkzeug installed.
Fixes lp1193563. - 3989. By Xavier (Open ERP)
-
[FIX] evaluation context structures not being round-tripped through eval
JS objects are converted to py.object when passed in through the
evaluation context. py.object are not serializable by default (because
that doesn't really make sense), which breaks when the input is
intended as a dict and returned (e.g. o2m values, which are triples of
(int, int?, dict?)).Intuitively, JS objects passed as part of the context should be mostly
JSON-ish and thus dicts, but that turns out not work work as some
addons use attribute accesses within contexts (e.g. parent.access in
account/account_ invoice_ view.xml) => Temporarily solve by converting raw js objects to an "attributed
dict" which acts as both a dict and an object and can be converted to
JSON.Ideally, py.js should provide for a pluggable conversion, or should
use an attributed mapping internally. See issues 21 and 23. - 3985. By Denis Ledoux (OpenERP)
-
[FIX]web: views.js & coresetup.js, ir_actions_
report_ xml and get_file special case for iOS devices, which do not allow iframe use the way we do it
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/ocb-web