[pve-devel] [PATCH manager] fix wrong message after subscription upload
Dominik Csapak
d.csapak at proxmox.com
Fri May 20 08:45:17 CEST 2016
:
> I don't really understand that. We do a reload() on subscription
> upload, so everything should get/be updated?
>
>> we use getObjectValue('message') which
>> reads from the store and not the realstore,
>> so the "no subscription" message is cached there
>> and shown directly after uploading
ok, so i looked over the code and we do update the cache (and remove not
existant values)
we iterate over the fields in the store via (me.snapshot || me.data).each
but since extjs5 there is no me.snapshot anymore (and thus the filtered
message gets not removed)
but the each function has an additional option to include filtered
values, so i'll send a v2
More information about the pve-devel
mailing list