cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to retrieve comments with iPad app

rinusl
Champ in-the-making
Champ in-the-making
We use alfresco community 4.2.f to share documents. The users who use an iPad to view documents get an annoying red bar on top of the document with the message "Unable to retrieve comments"

This is not the case when using the Android app. We don't experience any problems with comments on the site.

We want to get rid of this bar. Any help is appreciated!

3 REPLIES 3

juilee
Champ in-the-making
Champ in-the-making
Hi, we are getting the same error. Is it a bug ? Is there any fix available for it?
Thanks!

dpackman
Champ in-the-making
Champ in-the-making
I have the same problem, on iPhone.

Seems the API URL from the iOS apps are incorrect. Reviewing the tomcat access_log, I see this entry:

"GET /alfresco/service/api/node/1a0b110f-1e09-4ca2-b367-fe25e4964a4e/comments?pageSize=25&startIndex=0&reverse=true HTTP/1.1" 404

But the correct URL should be:

/alfresco/service/api/<strong>comment</strong>/node/<strong>store</strong>/1a0b110f-1e09-4ca2-b367-fe25e4964a4e/comments?pageSize=25&startIndex=0&reverse=true

I have verified that URL correctly displays a JSON response.

iOS app URL is missing both ../comment/.. and ../store/..

Note, these other 404 entries in the access_log exist along with the one for comments:

/alfresco/service/api/node/1a0b110f-1e09-4ca2-b367-fe25e4964a4e/content/thumbnails/doclib?c=queue HTTP/1.1" 404
/alfresco/service/api/node/1a0b110f-1e09-4ca2-b367-fe25e4964a4e/ratings HTTP/1.1" 404
/alfresco/service/api/node/1a0b110f-1e09-4ca2-b367-fe25e4964a4e/tags HTTP/1.1" 404

gavinc
Champ in-the-making
Champ in-the-making
Yes, you are correct, unfortunately the URLs are being incorrectly constructed. We've identified the issue and raised it in JIRA: https://issues.alfresco.com/jira/browse/MOBSDK-769