Uninstall leftover
rkaldung opened this issue · comments
Hi @hypericum - please have a look at this. Thanks!
@rkaldung unfortunately DynamicFieldUpdate (Framwork function for changing DynamicFields) can't change the internal flag.
Solution is to create the dynamic fields as non-internal fields. Code has been updated, demo can be found on vz690. Please QA and if ok trigger me for a new version or build it by yourself. thx
Since the data stored in the dynamic field can be restored by running the bin scripts I recommend removing the data on uninstall, maybe with a little hint. Don't setting the field internal could lead to more problems when a user still remove the dynamic field.
@thorsteneckel Do you agree?
I totally agree wir @rkaldung . After uninstalling the package the stored data is useless since it's inconsistent and misleading after the first incoming customer contact. We should remove it. Please do so @hypericum and switch to Code* blocks in the SOPM as written in the new issue #9 I created.