Actions
Bug #16856
openFiler package does not allow empty File Contents to be submitted, contrary to GUI (and code)
Status:
New
Priority:
Normal
Assignee:
-
Category:
Filer
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Affected Version:
All
Affected Plus Version:
26.03
Affected Architecture:
Description
The Filer package (as of 2026.05.24) says "Leave blank to load an existing file from file system…"
However, attempting to do so results in an error from input validation: "The field File Contents is required"
I thought this might be more complicated to fix, but it turns out the underlying code to handle empty filedata was already there. All that was needed was to remove the <required/> tag from /usr/local/pkg/filer.xml
I made a patch for this which can be applied with System Patches using this URL: https://gist.githubusercontent.com/luckman212/a5a26220c1102efefd99f5d2b22b0326/raw/84a8cedfb577bf3aafc369afa9332cd82b216913/filer.xml.patch
Pull Request at: https://github.com/pfsense/FreeBSD-ports/pull/1442
Files
No data to display
Actions