agea / Alfresco-HTML5-Client

Pure HTML5 and Javascript Alfresco client
MIT License
25 stars 10 forks source link

Download in newest version results in id instead of regular file name #10

Closed ebogaard closed 10 years ago

ebogaard commented 10 years ago

Today I was playing a bit with the latest version and I must say that the separated templates make things a lot more manageable.

When I tried downloading a file from the file- or detailview, I got a file with the right size, but with the wrong name. I got a file named 'a54b15d9-5c18-43d9-8f39-cd6a5dad6003' instead of 'Document 1.xlsx'.

I can see the href is changed, but (as a quick hack) when I replace the new code with the old one, it doesn't work and I get an authentication-error.

ebogaard commented 10 years ago

Something else: the 'old' not-functioning download code is still implemented in the search-results. So downloading from those results leads to an extra login-screen.