Offline editing not working in 5.0.d.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2015 06:03 AM
Edit offline not working in version 5.0.d even in default configuration. When I try to edit a document offline Alfresco locks it as usual but when I click download button I get http 500 error. If I just download a document without locking it everything is ok. What can cause it?
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2015 03:44 AM
I have also the same issue in alfresco 5.0.4.
In chrome and FF offline edit wokrs fine, in IE8, IE9 and IE11 there is HTTP 500 error, when we use offline edit option to download file. Normal download, by "Download"button works fine in every browser.
For example link to retrieve test.docx file after clicking Offline Edit, looks like this:
https://alfresco:8443/share/proxy/alfresco/slingshot/node/content/workspace/SpacesStore/d689f416-224..." target="_blank
When I paste this link to Chrome and firefox, file is downloaded without any problems,
but in IE I get 500 error.
But if I remove " signs from this URL, IE is able to download file
So final link for IE should look like this
https://alfresco:8443/share/proxy/alfresco/slingshot/node/content/workspace/SpacesStore/d689f416-224... target=_blank
without " signs
How can this be solved
Best Regards
Adam
In chrome and FF offline edit wokrs fine, in IE8, IE9 and IE11 there is HTTP 500 error, when we use offline edit option to download file. Normal download, by "Download"button works fine in every browser.
For example link to retrieve test.docx file after clicking Offline Edit, looks like this:
https://alfresco:8443/share/proxy/alfresco/slingshot/node/content/workspace/SpacesStore/d689f416-224..." target="_blank
When I paste this link to Chrome and firefox, file is downloaded without any problems,
but in IE I get 500 error.
But if I remove " signs from this URL, IE is able to download file
So final link for IE should look like this
https://alfresco:8443/share/proxy/alfresco/slingshot/node/content/workspace/SpacesStore/d689f416-224... target=_blank
without " signs
How can this be solved
Best Regards
Adam

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2015 06:58 AM
/opt/alfresco-5.0.d/tomcat/webapps/share/components/documentlibrary/actions.js
correct value:
"
getActionUrls: function dlA_getActionUrls(record, siteId)
…
downloadUrl: $combine(Alfresco.constants.PROXY_URI, contentUrl) + "?a=true",
"
in 5.0.d there was
downloadUrl: $combine(Alfresco.constants.PROXY_URI, contentUrl) + "?a=true" + "\" target=\"_blank",
Problem was with "\" target=\"_blank" which is not recognized correctly by IE
Other lines with ' "\" target=\"_blank" in getActionUrls should be also corrected.
There is also actions-min.js in the same directory, but i'm not sure if it used, so modified locally also.
After changes Edit Offline works fine.
correct value:
"
getActionUrls: function dlA_getActionUrls(record, siteId)
…
downloadUrl: $combine(Alfresco.constants.PROXY_URI, contentUrl) + "?a=true",
"
in 5.0.d there was
downloadUrl: $combine(Alfresco.constants.PROXY_URI, contentUrl) + "?a=true" + "\" target=\"_blank",
Problem was with "\" target=\"_blank" which is not recognized correctly by IE
Other lines with ' "\" target=\"_blank" in getActionUrls should be also corrected.
There is also actions-min.js in the same directory, but i'm not sure if it used, so modified locally also.
After changes Edit Offline works fine.
