U4-2304 - Typo bug in umbraco.cms.businesslogic.packager

Created by Allan Koch 31 May 2013, 12:21:44 Updated by Sebastiaan Janssen 31 May 2013, 14:15:15

Hi Umbraco people,

I found a small bug in umbraco.cms.businesslogic.packager.LoadConfig(string tempDir).

Line 818 reads: _reqMinor = int.Parse(_packageConfig.DocumentElement.SelectSingleNode("/umbPackage/info/package/requirements/major").FirstChild.Value);

this is wrong...

it should read: _reqMinor = int.Parse(_packageConfig.DocumentElement.SelectSingleNode("/umbPackage/info/package/requirements/minor").FirstChild.Value);

Someone did a copy-paste Typo bug, replace major with minor.

Best regards, Allan

Comments

Sebastiaan Janssen 31 May 2013, 14:15:08

Thanks, fixed in changeset 1d819f73e6fc


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Easy

Category:

Backwards Compatible: True

Fix Submitted: Inline code

Affected versions:

Due in version: 6.0.7

Sprint:

Story Points:

Cycle: