fmeAG / fme-alfresco-extensions

Automatically exported from code.google.com/p/fme-alfresco-extensions
0 stars 1 forks source link

Image Details Problem #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add Gallery Dashlet and point it to a Album Folder
2. Select a Image
3. Click in 'Image Details'

What is the expected output? 
Image details of selected image.

What do you see instead?
A message telling me that the object does not exist or it exists and I do not 
have permissions to access it.

What version of the product are you using? On what operating system?
0.5.4, Ubuntu 12

Please provide any additional information below.

- The correct URL detail of the file is: 
https://rossi.homedns.org:7003/share/page/context/mine/document-details?nodeRef=
workspace://SpacesStore/8b9d5ada-7599-4415-b74d-75945fb15e1b

- The 'Image Details'  link points to:

https://rossi.homedns.org:7003/share/page/site/album-de-familia/document-details
?nodeRef=workspace://SpacesStore/8b9d5ada-7599-4415-b74d-75945fb15e1b

Original issue reported on code.google.com by cassio.r...@gmail.com on 9 Apr 2014 at 8:17

GoogleCodeExporter commented 9 years ago
What kind of URL is /share/page/context/mine? That looks like a custom page 
that has been added to Alfresco.

Original comment by Florian....@gmail.com on 10 Apr 2014 at 1:07

GoogleCodeExporter commented 9 years ago
Thanks a lot for your reply!

I really don't know how to explain it to you ... What I can say is that I did 
not have any customized pages. This URL was extracted after I manually navigate 
to the file and request it details.

Another thing that I found is in the code of file 
gallery-grid-dashlet.get.html.ftl:

    <#if page.url.templateArgs.site?exists>
        "detailsUrl" : "${url.context}/page/site/${page.url.templateArgs.site!""}/document-details?nodeRef=",
    <#else>
        "detailsUrl" : "${url.context}/page/document-details?nodeRef=",
    </#if>

if the flow went to the 'else' it would work fine ...

Original comment by cassio.r...@gmail.com on 10 Apr 2014 at 1:14