[ 
http://jira.xwiki.org/jira/browse/XWIKI-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_20290
 ] 

Sergiu Dumitriu commented on XWIKI-1946:
----------------------------------------

There's a problem when the file does not have an extension in the first place. 
The first letter is copied to the end of the new filename, so uploading "my 
file" and renaming it to "your file" will result in an attachment named "your 
filem".

> Attachment renaming in the WYSiWYG doesn't keep the file extension
> ------------------------------------------------------------------
>
>                 Key: XWIKI-1946
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-1946
>             Project: XWiki Platform
>          Issue Type: Bug
>            Reporter: Raluca Morosan
>         Assigned To: Raluca Morosan
>             Fix For: 1.2, 1.1.3
>
>         Attachments: 
> extension-in-attachments-and-images-filenames_trunk.patch, 
> extension-in-attachments-and-images-filenames_xwiki-1.2.patch, 
> extension-in-attachments-and-images-filenames_xwiki-web-1-1.patch
>
>
> Steps:
> 1. Open WYSIWYG editor
> 2. Choose "Insert Attachment Link"
> 3. Browse a file
> 4. "Choose the target file name" and don't write the extension (like: 
> "test_file_name")
> 5. Insert 
> 6. Save & View
> 7. Click on the file name
> The same for the Photos.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to