IMAP add-on (v1.3.0): Problem with registering EventListeners

Hi,

IMAP add-on can’t register EventListener.

After add listener
imap1

IMAP configuration not fill method name in EventHandler entity
imap2

When I back to the event editor I receive error
imap3

I tried event handler as service and component.

Regards
Marcin

Hi @marcin.zawadowicz,

Could you please prepare and provide us a small project where this issue can be replicated?

Regards,
Evgeny

Hi,

I found reason (maybe).

File: ImapFolderEventEdit.java
Method: setHandlerChangeListeners
Property change listener never receive signal on property = “methodName”.
Only “beanName” and “handlingOrder” (on commit)

I will prepare a sample project in the evening.

Regards,
Marcin

Hi,

I prepared simple app.

app.zip (76,1 KB)

The problem is the same.
1
2

Regards,
Marcin

Hi @marcin.zawadowicz,

Thank you for your sample app, it much helped to find a bug. We will notify you when we will publish a new version with the fix.

Regards,
Evgeny

Thank you.

Regards,
Marcin

Hi @marcin.zawadowicz,

We have published 1.3.1 version for IMAP addon. This version contains the fix for your issue.

Regards,
Evgeny

Hi,
Thank you.
In this version I can add a new event handler but it cannot be changed. Always saved previous method.
I have to delete the old one and add a new one.

Original
1

Edited
2

After save
3

Regards
Marcin

Hi @marcin.zawadowicz,

We will check this issue and provide a fix in upcoming bug fix release.

Regards,
Evgeny