U4-4866 - Select content root when creating a package

Created by Andy Clarke 12 May 2014, 22:34:23 Updated by Shannon Deminick 27 Jan 2015, 23:10:47

The content picker allows you to choose the content root when creating a package (so all root nodes are selected), however when publishing the package, the package is not created and the following appears in the Umbraco Log.

ERROR umbraco.cms.businesslogic.packager.data - [Thread 44] An error occurred System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.cms.businesslogic.packager.data.Save(PackageInstance package, String dataSource)

Comments

Shannon Deminick 26 Jun 2014, 06:38:12

yup, this is ultra annoying, the problem is that it puts a -1 in the createdPackages.config when you remove the start node and then tries to load that. I've also removed the catch all errors try/catch that was in there that was preventing showing a real error to the end user - not sure why that code was in there... why wouldn't we want people to know their package failed? :P

As a workaround you can remove the -1 and put an empty string in the createdPackages.config.


Tim Payne 26 Jan 2015, 14:25:17

This is marked as fixed, but it's still not possible to select the content root as the content for a package. It will create the package, but no content is included. This was on 7.2. Should I raise a separate issue?


Shannon Deminick 27 Jan 2015, 23:10:47

Hrm, i wonder if that was possible pre v7 or not. In any case you'll need to raise a new issue so it can be tracked against a new version.


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.1.5, 6.2.2

Sprint:

Story Points:

Cycle: