In the preflight function you should have the opportunity to set the cassiopeia template back to default, and then proceed with uninstall of your custom template. That way you avoid: Template Uninstall: Can't remove default template. That is how it worked on older versions of the install script. But now the uninstall aborts before preflight.
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
bug
|
I am sorry. It's a bug. I have reverted to legacy which works fine.
Suppose you want to remove a template at uninstall. Then you must first set a new default template during preflight before you can do the uninstall. But in the current version an error is thrown because you are trying to uninstall the default template. That error should not be thrown at preflight. In preflight you should be allowed to do all the actions necessary to prepare the uninstall. It works fine in legacy.
that's how it works since j4 didn't check on j3
imho we cannot delegate to the template developer to do this check
for me it's not a bug but expected behaviuor