Reputation: 359
I have hit a snag that i can not seem to solve. My issue is with retrieving the blob key after the app engine has called my service back. I have tried using blobstoreService.getUploads(request)
and i have also tried pulling the blob key from the input stream on the request that is called back to me.
the really strange part is that if i go look into the dashboard i see all of my images in the blob store data view.
I get this error no matter how i try to get the blob keys out :
com.google.apphosting.utils.servlet.ParseBlobUploadFilter doFilter: Could not parse multipart message: javax.mail.internet.ParseException: Missing ';'
I am really hung up on this one and i could really use a little help.
EDIT more of the code
the fetch of the blob store url
private String fetchUrl()
{
String url = blobstoreService.createUploadUrl("/BS/returnKey");
return url;
}
snippit of the return code where the error occurs
...
if(inUrl.contains("returnKey"))
{
Map<String, List<BlobKey>> blobs = blobstoreService.getUploads(req);
...
so in my dev environment (the development app server packed in with GAE plugin for eclipse), it works fine, but then after i deploy to the app engine, the same code will not work. I also tried pulling the data out of the Input stream from the request with teh same results (working on the dev , not on the prod).
thanks to everyone for your help!
Upvotes: 2
Views: 456
Reputation: 359
The issue was that you can not have spaces in the id of the input on the form. I feel like there should be a more obvious error.
In any event i hope that someone finds this useful!
Upvotes: 2