Hallo zusammen,
bitte prüft mal im Shop einen Artikel mit 1 oder 2 Varianten zu Duplizieren.
Ich bekomme immer folgende Meldung:
Spoiler anzeigen
System.InvalidOperationException
-----------------
Die Auflistung wurde geändert. Der Enumerationsvorgang kann möglicherweise nicht ausgeführt werden.
-----------------
bei System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
bei System.Collections.Generic.List`1.ForEach(Action`1 action)
bei ZetaProducer.RuntimeBusinessLogic.Shop.ModelsHelper.ShopArticleCloneController.<>c__DisplayClass2_0.<CloneArticle>b__7(ShopArticleOptionModel l) in c:\P\ZP\14.0\ZetaProducerMain\Source\Core\RuntimeBusinessLogic\Shop\ModelsHelper\ShopArticleCloneController.cs:Zeile 116.
bei System.Collections.Generic.List`1.ForEach(Action`1 action)
bei ZetaProducer.RuntimeBusinessLogic.Shop.ModelsHelper.ShopArticleCloneController.CloneArticle(ShopArticleModel article) in c:\P\ZP\14.0\ZetaProducerMain\Source\Core\RuntimeBusinessLogic\Shop\ModelsHelper\ShopArticleCloneController.cs:Zeile 107.
bei ZetaProducer.Main.Shop.CategoriesAndArticles.Main.CoreArticlesControl.<>c__DisplayClass29_0.<buttonDuplicateArticle_ItemClick>b__0() in c:\P\ZP\14.0\ZetaProducerMain\Source\Core\Main\Shop\CategoriesAndArticles\Main\CoreArticlesControl.cs:Zeile 419.
bei ZetaProducer.Main.Shop.Helper.ShopStoreHelper.ProtectStore(Action storeAction) in c:\P\ZP\14.0\ZetaProducerMain\Source\Core\Main\Shop\Helper\ShopStoreHelper.cs:Zeile 14.
bei ZetaProducer.Main.Shop.CategoriesAndArticles.Main.CoreArticlesControl.buttonDuplicateArticle_ItemClick(Object sender, ItemClickEventArgs e) in c:\P\ZP\14.0\ZetaProducerMain\Source\Core\Main\Shop\CategoriesAndArticles\Main\CoreArticlesControl.cs:Zeile 414.
bei DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
bei DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
bei DevExpress.XtraBars.BarItemLink.OnLinkClick()
bei DevExpress.XtraBars.BarButtonItemLink.OnLinkClick()
bei DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
bei DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
bei DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
bei DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
bei DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)
bei DevExpress.XtraBars.Controls.CustomPopupBarControl.OnMouseUp(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei DevExpress.XtraBars.Controls.CustomControl.WndProc(Message& msg)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
InvalidOperationException
{
Message="Die Auflistung wurde geändert. Der Enumerationsvorgang kann möglicherweise nicht ausgeführt werden.",
Data=
[
]
,
InnerException=null,
TargetSite=RuntimeMethodInfo: ThrowInvalidOperationException,
StackTrace=" bei System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)\\r\\n bei System.Collections.Generic.List`1.ForEach(Action`1 action)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Shop.ModelsHelper.ShopArticleCloneController.<>c__DisplayClass2_0.<CloneArticle>b__7(ShopArticleOptionModel l) in c:\\P\\ZP\\14.0\\ZetaProducerMain\\Source\\Core\\RuntimeBusinessLogic\\Shop\\ModelsHelper\\ShopArticleCloneController.cs:Zeile 116.\\r\\n bei System.Collections.Generic.List`1.ForEach(Action`1 action)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Shop.ModelsHelper.ShopArticleCloneController.CloneArticle(ShopArticleModel article) in c:\\P\\ZP\\14.0\\ZetaProducerMain\\Source\\Core\\RuntimeBusinessLogic\\Shop\\ModelsHelper\\ShopArticleCloneController.cs:Zeile 107.\\r\\n bei ZetaProducer.Main.Shop.CategoriesAndArticles.Main.CoreArticlesControl.<>c__DisplayClass29_0.<buttonDuplicateArticle_ItemClick>b__0() in c:\\P\\ZP\\14.0\\ZetaProducerMain\\Source\\Core\\Main\\Shop\\CategoriesAndArticles\\Main\\CoreArticlesControl.cs:Zeile 419.\\r\\n bei ZetaProducer.Main.Shop.Helper.ShopStoreHelper.ProtectStore(Action storeAction) in c:\\P\\ZP\\14.0\\ZetaProducerMain\\Source\\Core\\Main\\Shop\\Helper\\ShopStoreHelper.cs:Zeile 14.\\r\\n bei ZetaProducer.Main.Shop.CategoriesAndArticles.Main.CoreArticlesControl.buttonDuplicateArticle_ItemClick(Object sender, ItemClickEventArgs e) in c:\\P\\ZP\\14.0\\ZetaProducerMain\\Source\\Core\\Main\\Shop\\CategoriesAndArticles\\Main\\CoreArticlesControl.cs:Zeile 414.\\r\\n bei DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)\\r\\n bei DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)\\r\\n bei DevExpress.XtraBars.BarItemLink.OnLinkClick()\\r\\n bei DevExpress.XtraBars.BarButtonItemLink.OnLinkClick()\\r\\n bei DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)\\r\\n bei DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)\\r\\n bei DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)\\r\\n bei DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)\\r\\n bei DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)\\r\\n bei DevExpress.XtraBars.Controls.CustomPopupBarControl.OnMouseUp(MouseEventArgs e)\\r\\n bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)\\r\\n bei System.Windows.Forms.Control.WndProc(Message& m)\\r\\n bei DevExpress.XtraBars.Controls.CustomControl.WndProc(Message& msg)\\r\\n bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)\\r\\n bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)\\r\\n bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)",
HelpLink=null,
Source="mscorlib",
HResult=-2146233079
}
Das Duplizieren wird zwar fortgesetzt, doch die Varianten sind lückenhaft. Es werden wohl nicht alle Optionen übernommen.