The XML Upload feature allows administrators to upload custom search XML files to test configuration changes without restarting the application. Previously, uploaded XML files persisted indefinitely — even after a software update delivered a newer version of the same file — which could cause errors and unintended behavior.
With this functionality, the system automatically detects whether an uploaded XML file has been superseded by a newer version and removes it accordingly.
Behavior
When a custom XML file is uploaded, the system stores the original server-side XML content in the database as a reference. On every system restart, the application compares the stored original against the current file on the filesystem:
|
Condition |
Result |
|---|---|
|
Server-side XML is unchanged since upload |
Uploaded custom file remains active |
|
Server-side XML has changed (e.g., via a patch) |
Uploaded custom file is automatically removed; the latest server version becomes active |
The comparison is performed as a string comparison. Minor differences such as added whitespace are treated as changes.