Closed wutzebaer closed 5 years ago
It is a problem with the MailSnag plugin. The UI delete command should only be hooked for its delete handler when its own editor is active and some other criteria. I checked its code, and the editor type is not checked. This the multiproperties definition for hooking the delete command, note in the beginning the condition that the active editor should be the multiproperties.
<definition id="hu.skzs.multiproperties.ui.definition.hasSelection">
<and>
<with variable="activeEditor">
<instanceof value="hu.skzs.multiproperties.ui.editor.Editor"/>
</with>
<with variable="selection">
<and>
<count value="+"/>
<iterate ifEmpty="false" operator="and">
<instanceof value="hu.skzs.multiproperties.base.model.AbstractRecord"/>
</iterate>
</and>
</with>
</and>
</definition>
Here is the MailSnag similar definition:
<definition
id="oneElementSelected">
<with
variable="selection">
<not>
<count
value="0">
</count>
</not>
</with>
</definition>
Nothing can be done in MultiProperties.
I get this error in my error log, and i cannot delete entries, seems there is an conflict with the mailsnag plugin (https://github.com/foosbar/mailsnag)