Bug 24865: (QA follow-up) Remove hardcoded notice name from protected_letters
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 19 Apr 2022 11:48:14 +0000 (11:48 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 5 Jul 2022 14:37:39 +0000 (11:37 -0300)
commite579f5019a7d4b171c3cdfa5a07441ff34072dd7
treeb452ccb2cdcafc36c0449c40ddbcbefc1e24905d
parent10fa2db886c75deffbb2f509624faa656bee161b
Bug 24865: (QA follow-up) Remove hardcoded notice name from protected_letters

If the letter has been removed, fall back to itemnumber/due date. (Title is
no longer fetched.) We may assume that the notice is present.

Note: The option to 'protect' a notice may need some more thought. Perhaps
it needs to be an attribute on itself.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested by deleting notice, running fines again.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Overdues.pm
tools/letter.pl