Environment: Production Invoice Ninja Self Hosted v5.3.96
OS - Debian 10 server with current security patches (Linux)
PHP - v8.0.19 with current security patches
DataBase Engine - MySQL/MariaDB - Current version with latest security patches
Web Server - Apache v2.4.52 with current security patches
PDF Engine - Local SnapPDF (not using Phantom)
Other - Virtual Machine = yes
Other - VM is not Docker; private VM instance with dedicated resources
Bug: We needed to add a line item to a past due invoice to reflect late fees. There seems to be no issues adding the line item to the existing (past due) invoice and saving the edit. When we look at either the PDF or the client portal after the edit, the old invoice is displayed without the changes. Also when we download the PDF from the dashboard, the downloaded PDF does not show the change either
Can the Issue be Reproduced? We are able to reproduce this issue on demand
Other Info: The affected invoices are over a year old and were created as new invoices in v5, they were not part of our migration from Invoice Ninja v4. We only have these two past due invoices and can’t see if this issue affects past due invoices less than a year old
Troubleshooting Steps: We have cleared the PDF cache at invoiceninja/public/storage
(see Regenerate PDF after Invoice Design Change) but this did not resolve the issue.
Additionally we have not added the system maintenance task that will perform a system cleanup of PDFs and Backup .html files (See release notes for v5.3.90 at Release notes · invoiceninja/invoiceninja Wiki · GitHub)