Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
Laptop with 1GB ram (512 to tomcat), P4, Windows XP, tomcat 5.0, jdk 1.5, magnolia 2.1, dms-1.0RC3, Firefox, IE
-
-
Empty show more show less
Description
I installed DMS accoring to the instructions. Everything works fine appearantly, but I can't download files when browsing magnoliaPublic.
1. Installed magnolia and DMS
2. Created a folder Documents/shwoing
3. Uploaded a file Case-v1.1.doc into Documents/shwoing
4. Created a copy of the doc and moved into the same folder
5. Changed template on Website/features/help to DMS Demo Template
6. Added a paragraph with the search string "jcr:path like '/%'"
7. Previewed page in magnoliaAuthor, works fine, paragraph shows both docs, both are downloadable by urls
javascript:MgnlDMS.downloadFile('/untitled/Case-v1-1/Case-v1.1.doc')
javascript:MgnlDMS.downloadFile('/untitled/Case-v1-2/Case-v1.1.doc')
8. Activated content and webpage to magnoliaPublic.
9. Opening page help shows the DMS paragraph correctly with both docs, but none of them are downloadable. Clicking the urls results in no error log, but Firefox' JavaScript Console shows
Error: contextPath is not defined
Source File: http://localhost:8080/magnoliaPublic/admindocroot/js/dms/MgnlDMS.js
Line: 53
Download urls are identical to the ones on magnoliaAuthor.
Both files are downloadable from magnoliaPublic's AdminCentral, so they have been activated.