Hello,
I have a problem - I have a process of an application that works fine in the development environment. It also worked fine in the production environment when I imported and published it the first time.
When I imported the application into the production environment again after making changes and clicking on it, I got an error with the message:
Type: System.Collections.Generic.KeyNotFoundException
-------------------------------------------------------
Message: The given key was not present in the dictionary.
-------------------------------------------------------
CallStack
-------------------------------------------------------
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at System.Linq.Enumerable.<>c__DisplayClass7_0`3.<CombineSelectors>b__0(TSource x)
at System.Linq.Enumerable.<>c__DisplayClass7_0`3.<CombineSelectors>b__0(TSource x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at WebCon.WorkFlow.Studio.Logic.Base.BusinessListBase`2.AddRange(IEnumerable`1 range)
at WebCon.WorkFlow.Studio.Logic.Managers.SubelementsFormFieldsManager.GetSubelementFormFields(StepForm stepForm, ICacheStore cacheStore)
at WebCon.WorkFlow.Studio.Logic.Managers.FormFieldsManager.GetFormFields(StepForm stepForm, AttributesCollection attributes, AttributesCollection systemAttributes, ICacheStore cacheStore)
at WebCon.WorkFlow.Studio.Logic.Managers.StepFormsManager.FillStepForms(Step step, ICacheStore cacheStore)
at WebCon.WorkFlow.Studio.Logic.Managers.StepsManager.GetSteps(StepsCollection steps, Int32 workFlowID, ICacheStore cacheStore)
at WebCon.WorkFlow.Studio.Logic.Managers.WorkFlowsManager.FillWorkFlowEntity(DocumentWorkFlowsCollection collection, WorkFlow dalEntity, WFStepForm defaultForm, WFStepForm mobileForm, ICacheStore cacheStore, Dictionary`2 stats)
at WebCon.WorkFlow.Studio.Logic.Managers.WorkFlowsManager.FillWorkFlows(DocumentWorkFlowsCollection documentWorkFlows, ICacheStore cacheStore, Int32 processId)
at WebCon.WorkFlow.Studio.Logic.Managers.ProcessesManager.FillProcessData(Process process)
at WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessControl.set_DataSource(Process value)
at WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessView.ProcessViewPresenterBase`2.Plug(TDataSource dataSource)
at WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessView.SetDataSourceInner[TDataSource](ProcessNodeGroup processNodeGroup, IProcessViewPresenterBase`1 chosenPresenter, TDataSource dataSource)
at WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessView.SetDataSourceInner[TDataSource](ProcessNodeGroup processNodeGroup, IProcessViewPresenterBase`1 chosenPresenter, TDataSource dataSource, StudioWaitStats waitStats)
at WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessView.SetDataSource(Process process)
at WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessController.SetViewDataSource(IProcessVirtualNode dataSource)
at WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessController.HandlePanelFocusedNodeChangedImpl(IProcessVirtualNode node)
at DevExpress.XtraTreeList.TreeList.RaiseAfterCollapse(TreeListNode node)
at DevExpress.XtraTreeList.TreeList.OnAfterChangeExpanded(TreeListNode node, Int32 prevIndex)
at DevExpress.XtraTreeList.Nodes.TreeListNode.OnChangeExpandedCore(Boolean value)
at DevExpress.XtraTreeList.Nodes.TreeListNode.OnChangeExpanded(Boolean value)
at DevExpress.XtraTreeList.Handler.TreeListHandler.OnMouseDown(MouseEventArgs e)
at DevExpress.XtraTreeList.TreeList.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
at DevExpress.XtraTreeList.TreeList.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
-------------------------------------------------------
In addition, the process steps were deleted, except the first one and as soon as I click on the process in the prod-environment, the error appears and when I click on “Continue”, the form fields are suddenly duplicated or even multiplied much more often.
If I try to delete something, that doesn't work either. (I wanted to delete the process from the application in the prod-environment to re-import it but that doesn't work either)
+ the status is permanently set to 'Reading'
- in the development environment everything works, the only thing is when i click on the process the status panel at the bottom is set to “Reading” until i save again.