[AWPR-6] AWPr portlet rendering issue Created: 07/Oct/09 Updated: 07/Oct/11 Resolved: 07/Oct/11 |
|
| Status: | Closed |
| Project: | Alfresco Web script Portlet rivet |
| Component/s: | awpr-liferay-portal |
| Affects Version/s: | 1.5.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | amolc83 | Assignee: | Al El-Nattar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS - Windows Server 2003 - SP2 Liferay 5.2.3 (Tomcat Server) Alfresco 3.0 Labs (Tomcat Server) |
||
| Attachments: |
|
| Description |
|
Hi, I followed the instruction in the wiki to install AWPr portlet in Liferay 5.2.3. Also i have deployed example webscript amp and STAr amp in the Alfresco 3.0 Labs. We want login credentials of the user logged in to liferay portal to be passed to Alfresco through AWPr portlet and to call example webscript to display Alfresco folders. But there are lot of JavaScript error which is causing the problem while rendering the alfresco folders in the portlet. Please refer the attachments. Following are my doubts based on observation: 1. When we try to access the webscript from Alfresco without logging into alfresco, it displays the breadcrumb and keep on refreshing for endless time and throws bunch of JavaScript errors Why is it so? 2. MySpaces webscript requires user login (as it is mentioned in the webscript)) and if I login to Alfresco and then try to access the webscript from Alfresco it displays all the folders properly. 3. Whatsnew webscript is displayed without any errors since it do not ask for login and guest login is enough. Please confirm? 4. When I try to access the AWPr portlet with all the settings for the Myspaces portlet in the Preferences, it shows the same behavior for the liferay user which is not in Alfresco and throws JavaScript errors. Is it the expected behavior? 5. While doing the settings in the preferences of the AWPr portlet for MySpaces webscript, do we have to mention the IP address of the server on which the Alfresco is hosted? What if both Alfresco & Liferay server are hosted on the same machine - should localhost enough in this case? What if the liferay portal is hosted on the internet? then do we have to change the preference of this portlet mentioning the public IP of the Alfresco server? 6. When we try to open up the documents listed in the AWPr portlet it do not redirect to alfresco. instead it takes the liferay's context path. (e.g.: it try to open the document using URL http://liferay_serevr:8080/alfresco instead of http://alfresco_server:8080/alfresco ) Why? 7. Icon images for Alfresco folders/documents are not rendered properly on the AWPr portlet. What could be the reason? Thanks & Regards, Amol |
| Comments |
| Comment by Al El-Nattar [ 30/Nov/09 ] |
|
Hi, Are you getting any errors in the Tomcat logs? Regarding the question you have in point number 6, I'm assuming you're referring to the What's New example Web Script. It is a feature of AWPr to download documents exposed through it using the JSR-286 resource serving feature. This allows downloads not to be done directly against the Alfresco repository which makes it more secure since the Alfresco ticket is not exposed to the client browser. In other words this is done by design to make AWPr more useful. That said there might me some benefit to making this feature configurable. If you find that useful please create a New Feature request. |
| Comment by Al El-Nattar [ 07/Oct/11 ] |
|
I'm closing this issue because I think it no longer applies. Please reopen if this is still an issue. Thank you. |