Skip to content

Errors with Import when items are in the wrong path #291

@eduard93

Description

@eduard93

Consider the following situation: user commits an xml into class mapping directory and this xml contains classes and:

  • EnsExportProduction
  • Ens.Config.DefaultSettings.ESD
  • EnsExportNotes

That causes these three items to be returned from ListItemsInFiles call in ImportRoutines (since ListItemsInFiles loads everything in the mapping directory without compiling and returns a full list of items, including these three items in our xml export).

But then in ImportRoutines we iterate this local of items and call ImportItem which tries to load the item from a correct place - which causes the error as the item does not exist in the right place.

Instead of an error, it should be reported as a warning.

Metadata

Metadata

Assignees

Labels

customerBased on customer feedback (as opposed to something identified by developers)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions