Skip to content

[Enhancement]: Map legacy package names in manifest/installer #7157

@johnhenley

Description

@johnhenley

Is there an existing issue for this?

  • I have searched the existing issues

Description of problem

The DNN Community Forums module has a legacy name of "Active Forums". As part of our rebranding, we wanted to seamlessly transition to the new name, but the package name has been a roadblock since it is used to bootstrap module upgrades. In particular, if you use the new name as the package name, the installer interprets it as a new install and tries to run all of the previous version's upgrade tasks and scripts. We tried using two different packages, but that was not ideal either.

Description of solution

What we need is to add a "legacyPackageNames" section to the package section. The installer would then use not only the package name to trigger an upgrade, but could use the list in legacyPackageNames as well to determine if the module being installed is actually an upgrade but with a new module name.
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DNN Community Forums" type="Module" version="09.07.00">
<legacyPackageNames>
<legacyPackageName name="Active Forums" />
</legacyPackageNames>
.
.
.

Description of alternatives considered

No response

Anything else?

No response

Do you plan to contribute code for this enhancement?

  • Yes

Would you be interested in sponsoring this enhancement?

  • Yes

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions