[Users] Report Bug to zimlet Attachment Alert (ModernUI)
Barry de Graaff
info at barrydegraaff.nl
Thu Jan 11 13:15:34 CET 2024
Hello Camille,
Sorry for the late reply, the Attachment Alert Zimlet is implemented
using zimletEventEmitter.on(ZIMBRA_ZIMLET_EVENTS.ONBEFORESEND...
The only thing passed via the event into the Zimlet is the actual
message, meaning the Zimlet does not have access to the composer and
because of this, it is not easy to see if the attachment word is in the
current message or in one of the replies.
Possible fixes would be, writing a new Zimlet, but base it on
https://github.com/Zimbra/zimbra-zimlet-social-justice then a message
could be shown on the screen if the word attachment is found but it will
not do anything once the user hits send. Alternatively one could only
trigger the attachment alert if the attachment word is found in the
first 100/200 characters of the email... but that is buggy.
So no good fixes I am afraid, for now, maybe best to leave it as is.
Regards, Barry
On 18-12-2023 10:56, Camille Herry wrote:
> Hello,
> We have test the zimlet attachment alerts (ModernUI) and she is really
> good, however I noticed a bug, which popup display alert when the
> pattern that we have configured is in the email currently being
> written and also in the email history.
> In my opinion, the popup should have an effect only for the current input.
>
> Would it be possible to make this fix?
> Thanks in advance,
> Best regards,
>
> ---
> Camille HERRY
> Université de Lorraine - Direction du Numérique
> Sous-Direction Infrastructures & Services
>
> 24-30 rue Lionnois - 54003 Nancy Cedex
>
> Tel : +33 3 72 74 11 34
> Mail : camille.herry at univ-lorraine.fr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zetalliance.org/pipermail/users_lists.zetalliance.org/attachments/20240111/5f335bd4/attachment.html>
More information about the Users
mailing list