Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V8: Add validation to the Version and UmbracoVersion properties #5559

Merged
merged 2 commits into from
Jun 27, 2019

Conversation

Mivaweb
Copy link
Contributor

@Mivaweb Mivaweb commented Jun 1, 2019

Prerequisites

See issue 5528: V8 - Install local package gives error: incorrect version

Description

We need to help the user when entering a version for his package and which umbraco version it uses. For the package version we can enter v1.0.0 which results in an error when installing the package in Umbraco in the backoffice.

So, we added 2 regular expressions in the edit package controller:

  • One for package version which allows versions of format 1.0 or 1.0.0
  • One for Umbraco version which allows versions of format 1.0.0

@Mivaweb Mivaweb changed the title Add validation to the Version and UmbracoVersion properties V8: Add validation to the Version and UmbracoVersion properties Jun 3, 2019
Copy link
Member

@nul800sebastiaan nul800sebastiaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Mivaweb - Can you update with the version number requirement to always have 3 parts please?

@nul800sebastiaan nul800sebastiaan merged commit 8c5f253 into umbraco:v8/dev Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants