lp:~camptocamp/openerp-connector/7.0-unicode-pickled-1288187

Created by Guewen Baconnier @ Camptocamp and last modified
Get this branch:
bzr branch lp:~camptocamp/openerp-connector/7.0-unicode-pickled-1288187
Members of Camptocamp can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Camptocamp
Project:
OpenERP Connector
Status:
Merged

Recent revisions

628. By Guewen Baconnier @ Camptocamp

func::bytea can fail to convert the string to bytea because it interprets the backshlashes. Use convert_to to LATIN1 instead

627. By Guewen Baconnier @ Camptocamp

confusing typo

626. By Guewen Baconnier @ Camptocamp

more interesting to read the values after the write/read roundtrip than the values set in the Job instance...

625. By Guewen Baconnier @ Camptocamp

add a test with accented bytestring

624. By Guewen Baconnier @ Camptocamp

conversion no longer necessary

623. By Guewen Baconnier @ Camptocamp

compare the job with the values to ensure the encoding is correct

622. By Guewen Baconnier @ Camptocamp

migrate the text field containing the pickled function to a bytea field

621. By Guewen Baconnier @ Camptocamp

[FIX] Jobs with unicode arguments cannot be stored.

The error here is that pickled data are binary data. Psycopg2 tries to decode
data to UTF-8 which is not possible because this is not UTF-8 data but binary
data.

Use a binary field rather than a text field.

620. By Launchpad Translations on behalf of openerp-connector-core-editors

Launchpad automatic translations update.

619. By Launchpad Translations on behalf of openerp-connector-core-editors

Launchpad automatic translations update.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~openerp-connector-core-editors/openerp-connector/7.0
This branch contains Public information 
Everyone can see this information.

Subscribers