[google-appengine] Re: Problem with blobstoreService.getUploadedBlobs(request)

2011-09-29 Thread Bat
I think that in all cases, if I send a form without file inside,
google blobstore create an empty blob...
I can see it in Blobstore vievwer.

This strange behavior is only on the google server, not on
localhost...

On 28 sep, 17:25, Bat  wrote:
> Hi,
>
> I've a problem with the methode blobstoreService.getUploadedBlobs().
> I've a JSP page in wich one I set an uploader like this :
>
> 
> 
> //...and multiple input for text
> 
>
> and I retrieve this code with my servlet :
>
> java.util.Map blobs =
> blobstoreService.getUploadedBlobs(req);
> BlobKey blobK  = blobs.get("myFiles[]"); //I don't know why I need to
> add the characters 's[]' at the end...
>
> But the behavior is strange. The first time I upload an image,
> everything works. However, the second time, I send my form without
> uploading somehting (only text data), and then my java code finds a
> BlobKey. But this BlobKey seems to be the previous sended data, or a
> corrupted data.
> I mean that not normal, because when I deploy this version on my
> localhost, if the form uploads no file the method getUploadedBlobs
> returns an empty HashMap. However, when I deploy on google servers, if
> the form uploads no file, the method getUploadedBlobs seems  to return
> a HashMap with wrong data.
>
> Could you help me? Or tell me if this behaviro is normal...
>
> Many thanks,
>
> bat

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Problem with blobstoreService.getUploadedBlobs(request)

2011-09-29 Thread Stuart Langley
Probably you are 
seeing http://code.google.com/p/googleappengine/issues/detail?id=4548

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/83XvpUE1LikJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Problem with blobstoreService.getUploadedBlobs(request)

2011-09-29 Thread Bat
Indeed...

Does anyone solve that problem?


On 29 sep, 13:22, Stuart Langley  wrote:
> Probably you are
> seeinghttp://code.google.com/p/googleappengine/issues/detail?id=4548

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.