Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.0 CE GA1, 6.1.10 EE GA1, 6.2.0 CE M2
-
Fix Version/s: 6.1.10 EE GA1, 6.1.20 EE GA2, --Sprint 11/12, 6.2.0 CE M2
-
Component/s: DM, DM > Document Library Display
-
Labels:
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Added to Fix Pack:Added
-
Similar Issues:
Description
If dl.file.extensions is not equals with * the Basic Document uploader will trigger the following error e.g: when the only acceptable extension is pdf: "Document names must end with one of the following extensions: .pdf."
Steps to reproduce:
1.) set dl.file.extensions=.pdf in portal-ext.properties
2.) start the portal
3.) log in and navigate to Control Panel > Documents And Media
4.) select Add > Basic Document
5.) select a .pdf file from the file system
6.) set title e.g.: my basic document
7.) press Save
expected behavior: file is uploaded with the title "my basic document"
real behavior: user receives error message that he/she have to upload .pdf document
reason: extension is validated against the title during add procedure

Committed on:
6.1.x GIT ID: a8e4c04291a1013e679219bd84a4ec355eab9956.
6.2.x GIT ID: 4b37dd084c15f4312b0137bb6420181d41bd3b9d.