Then doing an import and mapping nodename to name at the top of the mapping form, and other fields to corresponding fields for doctype, There is no duplicate nodename tags (it's an export from an old site), but I get the following error every time i try none the less:
[ArgumentException: An item with the same key has already been added.]
System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +56
System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +10416334
System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) +12
UmbImport.ImportSteps.MapProperties.UpdateState(ImportState state) +269
UmbImport.UmbImport.UpdateState() +73
UmbImport.UmbImport.NextButton_Click(Object sender, EventArgs e) +16
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
This is a bug in the current version indeed, Is it possible to change the name element to person? nodename and name are identical for UmbImport, sorry about that. Will be fixed in 1.0.3.
Just figured that one out myself :) Changed the property alias for the name property to fullName, and the import ran as expected, I can change the property alias back after import, since this is going to be an one-time only import.
Item with the same key already added
Trying to do a simple xml import, set up an xml file with following structure:
Then doing an import and mapping nodename to name at the top of the mapping form, and other fields to corresponding fields for doctype, There is no duplicate nodename tags (it's an export from an old site), but I get the following error every time i try none the less:
Anybody got any ideas what's happening?
Regards
Jesper Hauge
Hi Jesper,
This is a bug in the current version indeed, Is it possible to change the name element to person? nodename and name are identical for UmbImport, sorry about that. Will be fixed in 1.0.3.
Cheers,
Richard
Hi Richard
Just figured that one out myself :) Changed the property alias for the name property to fullName, and the import ran as expected, I can change the property alias back after import, since this is going to be an one-time only import.
Cheers
Jesper Hauge
Hi Jesper,
This bug is solved now and can be downloaded from http://our.umbraco.org/projects/cmsimport Please note that we changed the name from UmbImport to CMSImport
Cheers,
Richard
is working on a reply...