Managed Hosting
|
|
 |
Project Home
•
Forums
•
Wiki
•
Known Issues
• Contact Project
Canvas ColdFusion Wiki Issue: Media: links fail if file is renamed using Destination File field
| Name: |
Media: links fail if file is renamed using Destination File field |
| ID: |
47 |
| Project: |
Canvas ColdFusion Wiki |
| Type: |
Bug |
| Area: |
Front End |
| Severity: |
Low |
| Status: |
Fixed |
| Related URL: |
|
| Creator: |
Paul Connell |
| Created: |
09/29/11 3:37 AM |
| Updated: |
01/03/12 8:15 AM |
| Description: |
When you upload a file, you can rename the file (not really, not on disk at least) - example I upload install.pdf but rename it CFWiki.pdf - when I go to the page listing media files it Hints that I should use Media:install.pdf - but it should be Media:CFWiki.pdf or the file will not be found and you get redirected to the Uploads page. I'm guessing this needs fixing in renderbody_singleFile around line 278.
|
| History: |
Created by Hapex (Paul Connell) : 09/29/11 3:37 AM
Comment by Hapex (Paul Connell) : 09/29/11 3:47 AM I'm a fiddler - would the solution be to change line 278 to
<cfset bodySB.append("Hint: Include a link to this file in a wiki page by including this text: &##91;&##91;Media:#Replace(arguments.pageBean.getPath(),'Special.Files.','')#&##93;&##93;<br />")>
Comment by Hapex (Paul Connell) : 09/29/11 3:48 AM Ignore the < it was me trying to get code through - shoulda realised :D
Comment by cfjedimaster (Raymond Camden) : 01/03/12 8:15 AM Posting now -t hank you.
Updated by cfjedimaster (Raymond Camden) : 01/03/12 8:15 AM
|
To add a comment to this bug, please login using the link above.
|