U4-11456 - Package installation - Load usercontrol: file cannot be found: /umbraco/developer/Packages/installer.aspx

Created by Marc Love 19 Jun 2018, 09:43:23 Updated by Sebastiaan Janssen 21 Jun 2018, 08:50:36

What did you do?

Installed a package that loads a usercontrol at the end of package installation.

What did you expect to happen?

Package installer should redirect to usercontrol

What actually happened?

Error message appears stating the following file cannot be found: /umbraco/developer/Packages/installer.aspx

It appears that this file is required for the redirect to the usercontrol defined in the package.xml file. This file existed in the previous versions of Umbraco however has been removed in 7.11

1 Attachments

Download PackageInstallerFix.zip

Comments

Sebastiaan Janssen 19 Jun 2018, 21:35:28

Oh no! That's an oversight and.. oh my, that is some old code we need to get rid of soon!

For now, I've added a zip with a reworked installer.aspx to drop into ~/Umbraco/Developer/Packages and an App_Code file. The combination of the two should make that final step work again. Sorry for the inconvenience.


Marc Love 20 Jun 2018, 09:07:42

Thanks Sebastiaan, thanks for the work around. It wasnt a huge deal for us as we were simply using the usercontrol to display a nice installation complete message but I think it will affect some packages that use it to carry out optional tasks on installation complete.


Sebastiaan Janssen 20 Jun 2018, 11:28:51

Thanks Marc! Would be good if you could give this a quick test anyway, I'll put it into 7.11.1 so I hope it just works. :)


Marc Love 20 Jun 2018, 12:43:31

Hi Sebastiaan, just tested your fix and package installer successfully redirected to the defined usercontrol in package.xml


Sebastiaan Janssen 21 Jun 2018, 08:50:34

Fixed in https://github.com/umbraco/Umbraco-CMS/commit/67e36a0d600a5526f2d89058f770d70b8ee26fff


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.11.0

Due in version: 7.11.1

Sprint:

Story Points:

Cycle: