Saving a word document directly from Word 2007 fails
Description
Environment
Activity

Pani Gui January 17, 2012 at 5:21 PM
PASSED Manual Testing using the following steps:
1. Navigate bundle\webapps\ROOT\WEB-INF.
2. Open liferay-web.xml and rename digest_auth to basic_auth under Sharepoint Filter.
3. Start portal.
4. Add Documents and Media portlet.
Open MS Word 2007 or newer.
5. Click file > Open.
6. Enter http://localhost:8080/sharepoint/ to File name and hit tab.
7. Enter username and password.
8. Browse to Guest/document_library.
9. Close pop-up window.
10. Enter some contents to Word.
11. Click file > Save.
12. Saving the word document to Guest/document_library.
Reproduced on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 6cdc97d54f81bb865fb3de47f8203cd310e95ed1.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 1c7824d6953ab9cb3210971314a28fc9fb4b3fbd.
Saving word document to Documents and Media from Word 2007 fails.
Fixed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: adba444213a4ec50e9887304e492936da4ba8d25.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: a7ea862135bc92909c3b7413195f251be9a1fd18.
The word document saves to Documents and Media successfully.

MikaM January 17, 2012 at 11:44 AM
The SharepointException is expected because we don't currently support checkout. If the word file is saved successfully then this issue it completed. I'm taking care of the checkout issue as part of another issue.

Pani Gui January 16, 2012 at 10:31 PM
FAILED Manual Testing using the following steps:
1. Navigate bundle\webapps\ROOT\WEB-INF.
2. Open liferay-web.xml and rename digest_auth to basic_auth under Sharepoint Filter.
3. Start portal.
4. Add Documents and Media portlet.
Open MS Word 2007 or newer.
5. Click file > Open.
6. Enter http://localhost:8080/sharepoint/ to File name and hit tab.
7. Enter username and password.
8. Browse to Guest/document_library.
9. Close pop-up window.
10. Enter some contents to Word.
11. Click file > Save.
12. Saving the word document to Guest/document_library.
Reproduced on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 6cdc97d54f81bb865fb3de47f8203cd310e95ed1.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 1c7824d6953ab9cb3210971314a28fc9fb4b3fbd.
Saving word document to Documents and Media from Word 2007 fails.
Failed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: adba444213a4ec50e9887304e492936da4ba8d25.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: a7ea862135bc92909c3b7413195f251be9a1fd18.
The word document saves to Documents and Media, but it also shows "SharepointException: Method checkout document is not implemented" error message in the console.

Michael Saechang January 9, 2012 at 11:18 AM
Committed on:
6.1.x GIT ID: 33bfc31260aab5e4c20df8ce3966347891a588fc.
6.2.x GIT ID: d90c009598b58b26d3f5c381a216ce6a49106908.

MikaM January 6, 2012 at 6:09 PM
Stream handling was incorrect so the document got corrupted. We still should implement checkout but that's a separate task.
Details
Assignee
Pani GuiPani Gui(Deactivated)Reporter
MikaMMikaMLabels
Branch Version/s
5.2.xGit Pull Request
Components
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Branch Version/s
Git Pull Request
Components
Fix versions
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Trying to save a word document directly using Sharepoint integration fails. It will create a truncated corrupted document on document library and Word says that the saving failed. Following exception is logged on tomcat: