Skip to content

Builds the wrong script if the version isn't found #41

Open
@sgartner-cityofboise

Description

@sgartner-cityofboise

If you build a URL with a version that does not exist, then it builds a script with no version, which for a novice might go unnoticed. For example, if I run the following url:

https://psw.codeshare.co.uk/?InstallUmbracoTemplate=true&TemplateVersion=10.22.1&CreateSolutionFile=true&SolutionName=MySolution&UseUnattendedInstall=false&IncludeStarterKit=false

or

https://psw.codeshare.co.uk/?InstallUmbracoTemplate=true&TemplateVersion=10.1&CreateSolutionFile=true&SolutionName=MySolution&UseUnattendedInstall=false&IncludeStarterKit=false

or

https://psw.codeshare.co.uk/?InstallUmbracoTemplate=true&TemplateVersion=10&CreateSolutionFile=true&SolutionName=MySolution&UseUnattendedInstall=false&IncludeStarterKit=false

then it will generate a script that will install the newest version of Umbraco. Also strange that it shows the script, for just a moment, with the provided version number, then it reverts to having no version.

I think it would be better if instead it brought up the options page with an error and made me to choose a valid version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions