Loading...
 
Skip to main content

Trackers, File field type; File Count doesn't limit if set to 1 and Replace Existing File is set to no

Status
Open
Subject
Trackers, File field type; File Count doesn't limit if set to 1 and Replace Existing File is set to no
Version
25.x
26.x
master
Category
  • Conflict of two features (each works well independently)
  • Usability
Feature
Trackers
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

On a Tiki 25 I have a tracker and I'm using a file tracker field.

Whit the option "File Count" doesn't limit if set to 1 (Maximum number of files to be attached on the field), I should be able to upload only one picture and there should be only one file attached.

But there is another option similar/related near the bottom of the options list.
"Replace Existing File" and if this option is set to no, "File Count" has no effect and as a result, I can upload many files and have many file attached.

We have an interface and logic issue here.
If "File Count" is set to 1, "Replace Existing File" should be always set to "yes" and display a warning, something like: "A file exist for this item, You will overwrite the previously uploaded file. Do you want to replace the existing file". (common expected user interface)

If "File Count" is set to anything but 1, "Replace Existing File" should be hidden.

Importance
3
Easy to solve?
7
Priority
21
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8380
Created
Saturday 22 April, 2023 06:51:44 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Saturday 22 April, 2023 06:51:44 UTC


Show PHP error messages