Mass release of messages

Report bugs and workarounds
Post Reply
nicolatiana
Posts: 11
Joined: 07 Feb 2014 16:39

Mass release of messages

Post by nicolatiana »

Good morning

In message operations the R option (release) does not work if you try to mark all messages.
This is the error

Not Found
The requested URL /mailscanner/\"javascript:SetRadios('R')" was not found on this server.
Apache/2.2.15 (CentOS) Server at 192.168.0.7 Port 80

Nicola
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Mass release of messages

Post by shawniverson »

Submitting to MailWatch devs...

https://github.com/mailwatch/1.2.0/issues/47
buzzzo
Posts: 94
Joined: 03 Feb 2014 09:09

Re: Mass release of messages

Post by buzzzo »

It's a stupid syntax error on the script functions.php:

To solve:

First of all backup the file: cp /var/www/html/mailscanner/functions.php /tmp/functions.php.bak
open with an editor: /var/www/html/mailscanner/functions.php

Search the following line: <a href="javascript:SetRadios(\'F\')">F</a>

You would find a bunch of similar lines:

&nbsp; <a href="javascript:SetRadios(\'S\')">S</a>
&nbsp; <a href="javascript:SetRadios(\'H\')">H</a>
&nbsp; <a href="javascript:SetRadios(\'F\')">F</a>

You would see that the lines related to "R" is different from the others, cut it and replace with the following one:

&nbsp; <a href="javascript:SetRadios(\'R\')">R</a>

Save.

NOTE TO DEVS: for simple bugs like this would be better to fix by themself ?

Thx
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Mass release of messages

Post by shawniverson »

Yep plan on fixing this. It is a very minor edit.
Post Reply