@stefania91 indicated that it was impossible to archive a task with Italian UI.
It turns out that this is because the localised Italian contains
"'" characters in some text that is used in JavaScript "confirm('...')"s.
This gives bad syntax in the JavaScript, so the button does not function.
In fact this happens in a number of Italian buttons and one English one.
This is now fixed by commit 8c51a898fff021a74f029584d55450b29c1b66c5
(I used "Right Single Quotation Mark (U+2019)" instead of trying to escape the quotes.)
Probably as a result of trying to bypass this, the backend sent a number of emails
indicating that an archived task could not be found. I cannot see exactly
how this happened. Possibly and old page was left open and something was done twice??.
But this does not make a lot of sense and the code seems OK.
This is probably not too critical. Here is a excerpt of one of the emails...
Hello,
An error has occurred in the SOLAS-Match worker Daemon.
Failed to Generate task archived email.
Unable to find relevant information in the Database.
Searched for user ID 1012, task ID 17482.
@stefania91 indicated that it was impossible to archive a task with Italian UI. It turns out that this is because the localised Italian contains "'" characters in some text that is used in JavaScript "confirm('...')"s. This gives bad syntax in the JavaScript, so the button does not function. In fact this happens in a number of Italian buttons and one English one.
This is now fixed by commit 8c51a898fff021a74f029584d55450b29c1b66c5 (I used "Right Single Quotation Mark (U+2019)" instead of trying to escape the quotes.)
Probably as a result of trying to bypass this, the backend sent a number of emails indicating that an archived task could not be found. I cannot see exactly how this happened. Possibly and old page was left open and something was done twice??. But this does not make a lot of sense and the code seems OK. This is probably not too critical. Here is a excerpt of one of the emails...
Hello,
An error has occurred in the SOLAS-Match worker Daemon. Failed to Generate task archived email. Unable to find relevant information in the Database. Searched for user ID 1012, task ID 17482.