Skip to content

Retrieval of package items from package incomplete #4

@tarmo-t

Description

@tarmo-t

I think there is a bug in the code for the UninstallPackage.aspx.cs file on line 210.

The foreach loop only iterates through the first set of items in the xitems array, but most packages have multiple entries in the xitems array, so the uninstall is missing items.

Issue:

foreach (EntriesXitem aItem in projectInformation.Sources[0].xitems[0].Entries)

Change to:

    foreach (projectSourcesXitems sources in projectInformation.Sources[0].xitems)
    {
        foreach (EntriesXitem aItem in sources.Entries)
        {

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