U4-5141 - Packager doesn't respect 'allow at root' or 'list view'

Created by Shannon Deminick 25 Jun 2014, 06:39:23 Updated by Shannon Deminick 26 Jun 2014, 07:35:49

When installing a package that has a doc type that has either of these options listed, they are ignored.

Comments

Shannon Deminick 26 Jun 2014, 06:37:43

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.


Shannon Deminick 26 Jun 2014, 07:14:16

This was due to two things:

The current packager is using the legacy ToXml methods on the DocumentType which is not using the PackagingService/XmlEntitySerializer so the allow at root was not being picked up. And IsListView (IsContainer) hadn't been written yet.


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

Sprint:

Story Points:

Cycle: