{"action":"closed","issue":{"url":"https://api.github.com/repos/vladimiry/email-securely-app/issues/70","repository_url":"https://api.github.com/repos/vladimiry/email-securely-app","labels_url":"https://api.github.com/repos/vladimiry/email-securely-app/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/vladimiry/email-securely-app/issues/70/comments","events_url":"https://api.github.com/repos/vladimiry/email-securely-app/issues/70/events","html_url":"https://github.com/vladimiry/email-securely-app/issues/70","id":381840904,"node_id":"MDU6SXNzdWUzODE4NDA5MDQ=","number":70,"title":"Database persistance ValidationError with \"Invalid recipients list\" messasge","user":{"login":"vladimiry","id":1560781,"node_id":"MDQ6VXNlcjE1NjA3ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/1560781?v=4","gravatar_id":"","url":"https://api.github.com/users/vladimiry","html_url":"https://github.com/vladimiry","followers_url":"https://api.github.com/users/vladimiry/followers","following_url":"https://api.github.com/users/vladimiry/following{/other_user}","gists_url":"https://api.github.com/users/vladimiry/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimiry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimiry/subscriptions","organizations_url":"https://api.github.com/users/vladimiry/orgs","repos_url":"https://api.github.com/users/vladimiry/repos","events_url":"https://api.github.com/users/vladimiry/events{/privacy}","received_events_url":"https://api.github.com/users/vladimiry/received_events","type":"User","site_admin":false},"labels":[{"id":786874883,"node_id":"MDU6TGFiZWw3ODY4NzQ4ODM=","url":"https://api.github.com/repos/vladimiry/email-securely-app/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-17T08:13:52Z","updated_at":"2018-11-17T15:49:03Z","closed_at":"2018-11-17T15:49:03Z","author_association":"OWNER","body":"This is a follow up to the issue revealed by @vensko here https://github.com/vladimiry/email-securely-app/issues/69#issuecomment-439557822\r\n\r\n@vensko, you somehow got emails with empty recipients list. There is a custom database persistance validation enabled that accepts empty recipients list only in case of email is in `draft` state. I assumed that this is an invalid case to have empty recipients for arbitrary email state, so going to disable the [respective validation](https://github.com/vladimiry/email-securely-app/blob/9491f459ccc9758b576b932bb293acacec52cc99/src/electron-main/database/entity/validation/mail-recipients-size.ts).\r\n"}}
{"actor":{"display_login":"vladimiry"}}