[pmg-devel] applied: [PATCH pmg-gui] fix broken maillist when deleting last mail in list

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Nov 14 13:35:52 CET 2019


On 11/13/19 9:18 PM, Stoiko Ivanov wrote:
> On Mon, Nov 11, 2019 at 10:16:35AM +0100, Dominik Csapak wrote:
>> on deleting the last mail in the list, the selection is empty and
>> the access below to 'rec.data.id' breaks, leaving the maillist broken
>> (until the user changed the panel or reloaded)
>>
>> so give rec an empty fallback object and check if there is a 'data'
>> property and use that, otherwise set the id to the empty string
>>
>> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> * reproduced the issue locally with the latest master
> * installed a version with the patch applied
> * the issue went away
> 
> Tested-By: Stoiko Ivanov <s.ivanov at proxmox.com>
> Reviewed-By: Stoiko Ivanov <s.ivanov at proxmox.com>
> 

applied, with above tags, thanks!



More information about the pmg-devel mailing list