Importing Error: "Sequence contains more than one matching element"

@emre what causes this error on a import?

We are trying to setup up another site and need to import some further customizations I have completed. My site installers would have only modified Client Data - no Automation would of been touched.

Need help thanks.
Also Emre would be helpful to either have a log of this error or notify the user what the actual conflict is?

I am changing this to an issue for now as I managed to narrow it down Emre after painfully exporting each update 1 x 1 and then importing 1 x 1 to see where it breaks.

The error is caused from importing the default Customer Search Screen? I will attach screen here so you can try. I think it may be because I have used the new “Layout” feature as after I managed to import the screen the Layout had gone back to default (maybe XML schema).

This is after importing:

Delete the Customer Screen before importing the new one.
Somewhat useful as the Parameter used in the command buttons actually get updated this way in V5.60!

Below is the attached zipped screen. (1.0 KB)

Emre can you comment please.

I imported your screen without errors and also tried importing on top of already existing screen and it imported fine too. That probably happens your setup already contains two entity screens with that name.

Your export does not contain any layout info. That probably because it exported from a version that does not exports layouts. You’ll remember we made some related fixes to .61

Also there is a blank automation button in export file.


Thanks for the explanation @emre - I will investigate further into this on our system. I do recall duplicating this screen at some stage before screwing with it so suggest that be the issue.

Topic - changed to question.

1 Like