Ab#134566 abc allow outdated files in file fields#2912
Closed
GhaziAlibi wants to merge 2 commits into
Closed
Conversation
AntoineRelief
deleted the
AB#134566-ABC-allow-outdated-files-in-file-fields
branch
July 23, 2026 05:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implements AB#134566 - Allow outdated files in file(s) fields.
Adds a new option on file questions, "Prevent deleting existing files": users can still upload additional files (within the allowed file number) but can no longer delete files already saved on the record. Instead, saved files can be flagged as "outdated" using a warning icon toggle displayed on each file in the form. The flag can be removed the same way.
Visibility of outdated files is configurable independently in each place files are displayed, so the same record can show them in one widget and hide them in another:
When hidden, outdated files are only excluded from display; they remain part of the stored record value. Outdated files are shown with a warning icon instead of the word "outdated", since users may not understand the term.
Useful links
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Tested manually in back-office & front-office (see video below):
Screenshots
Screencast_20260720_014929.webm
Checklist:
( * == Mandatory )
( * == Mandatory )
More explanation
https://www.loom.com/share/05a716d61b9744faaf51fb304c21d1e5?sid=f87cf896-582a-4f76-93ae-8ceed801b145