Re: ERDatabaseAttachmentProcessor not returning uploaded file verbatim
Re: ERDatabaseAttachmentProcessor not returning uploaded file verbatim
- Subject: Re: ERDatabaseAttachmentProcessor not returning uploaded file verbatim
- From: Paul Hoadley <email@hidden>
- Date: Thu, 12 Sep 2013 08:29:09 +0930
On 11/09/2013, at 8:30 PM, Paul Hoadley < email@hidden> wrote: I'm not having a great week.
But it's getting better. In development, I'm using the "db" storage type backed by PostgreSQL (9.1).
The clue was right there in the version number... For example, here are the first few bytes of a CSV file viewed in the terminal:
0000000 4c 6f 63 6b 2c 41 75
Here are those same first few bytes viewed in the table with psql:
\x4c6f636b2c4175
That looks good to me—the '\x' just denotes PostgreSQL's hex representation.
And here's the first few bytes of what the browser returns after clicking the attachment icon:
S6f636b2c4175
This behaviour was consistently reproducible until I updated the mismatched JDBC driver. I was still using an 8.x driver for a 9.1 database. Trap for young players.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden