[MGNLDMS-7] Javascript variable contextPath not defined on magnoliaPublic (can not download documents) Created: 10/Oct/05 Updated: 03/Jul/14 Resolved: 27/Jan/06 |
|
| Status: | Closed |
| Project: | Document Management System (closed) |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Thomas Ferris Nicolaisen | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 3d | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | 3d | ||
| Environment: |
Laptop with 1GB ram (512 to tomcat), P4, Windows XP, tomcat 5.0, jdk 1.5, magnolia 2.1, dms-1.0RC3, Firefox, IE |
||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| 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 javascript:MgnlDMS.downloadFile('/untitled/Case-v1-1/Case-v1.1.doc') 8. Activated content and webpage to magnoliaPublic. Error: contextPath is not defined Download urls are identical to the ones on magnoliaAuthor. Both files are downloadable from magnoliaPublic's AdminCentral, so they have been activated. |
| Comments |
| Comment by Philipp Bracher [ 27/Jan/06 ] |
|
contextPath is set in the template now. The problem was that cms:link is not including the javascripts if the admin flag is set to false |