Skip to content

Pushing a property multiple times only pushed it once #59

Open
@adecler

Description

@adecler

Description:

For something like this:

Config = new ExcelPushConfig
{
    Worksheet = "Elements",
    GoDeepInProperties = true,
    StartingCell = new CellAddress { Column = "A", Row = 3 },
    IncludePropertyNames = false,
    ObjectProperties = new List<string> {
        "Element.Name", "Element.ElementGroup", "Element.Type", "Element.Name",
        "Factors.A1toA3", "Factors.A4", "Factors.A5w"
    }
}

Element.Name is only added once instead of two. This results in the columns after teh second Element.Name being shifted to the left by one.

Steps to reproduce:

Push objects while using teh same property multiple times like above

Expected behaviour:

It should be possible to push the same property multiple times

Test file(s):

StructureEmbodiedCarbonTest.zip

Metadata

Metadata

Assignees

Labels

type:bugError or unexpected behaviour

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions