phanblogs / google-sites-liberation

Automatically exported from code.google.com/p/google-sites-liberation
1 stars 0 forks source link

Bug during the attachments import #64

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, 

There is a bug in the 1.0.3 version of the google-sites-liberation tool. 
The import of attachment does not work, we have the following error when the 
tool tries to import an attachment: 

6 oct. 2010 16:07:40 com.google.sites.liberation.imprt.EntryInserterImpl 
insertEntry 
ATTENTION: Unable to insert entry: {AttachmentEntry {BaseContentEntry 
com.google.gdata.data.sites.AttachmentEntry@870e2f}} 
com.google.gdata.util.RedirectRequiredException: Moved Temporarily 
Redirect Required 

at 
com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataR
equest.java:541) 
at 
com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.jav
a:536) 
at 
com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:515)

at 
com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:
515) 
at com.google.gdata.client.media.MediaService.insert(MediaService.java:390) 
at 
com.google.sites.liberation.imprt.EntryInserterImpl.insertEntry(EntryInserterImp
l.java:26) 
at 
com.google.sites.liberation.imprt.EntryUploaderImpl.uploadEntry(EntryUploaderImp
l.java:111) 
at 
com.google.sites.liberation.imprt.PageImporterImpl.importPage(PageImporterImpl.j
ava:126) 
at 
com.google.sites.liberation.imprt.SiteImporterImpl.importPage(SiteImporterImpl.j
ava:61) 
at 
com.google.sites.liberation.imprt.SiteImporterImpl.importSite(SiteImporterImpl.j
ava:47) 
at 
com.google.sites.liberation.util.GuiMain$ImportExportRunnable.run(GuiMain.java:2
84) 
at java.lang.Thread.run(Unknown Source) 

What steps will reproduce the problem?
1. Export a Google Site containing attachments using google-sites-liberation 
(1.0.3).
2. Import the previously exported Google Site using google-sites-liberation 
(1.0.3).

What version of the product are you using? On what operating system?
1.0.3 on Windows XP

Regards, 
Alexandre Vivien

Original issue reported on code.google.com by alx.vivien on 15 Oct 2010 at 10:59