Skip to content

Conversation

@anisse
Copy link

@anisse anisse commented Apr 15, 2019

I must have created a filter with a label, then deleted the label, and
the filter was left with no action. Handle this case to prevent a crash
at when Action is nil and dereferenced.

Signed-off-by: Anisse Astier [email protected]

I must have created a filter with a label, then deleted the label, and
the filter was left with no action. Handle this case to prevent a crash
at when Action is nil and dereferenced.

Signed-off-by: Anisse Astier <[email protected]>
Copy link

@parkr parkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was bit by this today as well. Thank you for submitting a patch!

@parkr
Copy link

parkr commented May 22, 2019

Interestingly, exporting showed a number of these in the resulting config:

[[Filter]]
Query = ""
Archive = false
Read = false
Delete = false
ToMe = false
ArchiveUnlessToMe = false
Label = ""
ForwardTo = ""

@crossan007
Copy link

I too have a large number of the above mentioned block in my export. I suspect, but have not yet fully proven #11 as the cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants