I'm packaging up uForum (for Umbraco 4.1RC), and I would like some input on how the package actions work with regard to uninstalling.
I too a look at the source, and it seems a bit unclear how I would make sure that an action has the undo method called when the package is uninstalled?
It looks to me as, if I set the "undo" attribute to true, then the action is not saved for uninstalling. But if I set it to "false" or don't set it at all, then it _will_ be saved for uninstallation.
So the correct action at this point is to not set it at all. Is that correct?
This is an old bug which was fixed in a previous release but seems to came back again. But you are correct so in order to have an uninstall method just leave it.
Using uninstalling in package actions
Hi everybody.
I'm packaging up uForum (for Umbraco 4.1RC), and I would like some input on how the package actions work with regard to uninstalling.
I too a look at the source, and it seems a bit unclear how I would make sure that an action has the undo method called when the package is uninstalled?
The 4.1RC core seems to have this code:
It looks to me as, if I set the "undo" attribute to true, then the action is not saved for uninstalling. But if I set it to "false" or don't set it at all, then it _will_ be saved for uninstallation.
So the correct action at this point is to not set it at all. Is that correct?
Hi Morten,
This is an old bug which was fixed in a previous release but seems to came back again. But you are correct so in order to have an uninstall method just leave it.
Cheers,
Richard
Alrighty :-) Thanks.
is working on a reply...