In Progress

Everytime I try to sort a collection in a document template's mapping I get the error "System.Inval

Hello.

I've done a document template and I mapped all the entries that I needed. That worked just fine. But then, I've tried to sort the items of the collection that I'm showing in the document and every single time I pull the connector from the collection entity to the sort one I get this error "System.InvalidOperationException: Collection was modified; enumeration operation may not execute." and then Bizagi stop working.

Can someone help me? I've searched and it seems to be a problem of C#, when adding or removing items in a collection. But I don't know wich task is doing that and how to fix it.

Bizagi Studio version 11.0.0.2724

.NET version 4.0.30319

Windows version 8.7 Pro

Thank you.

Comments (3)

photo
1

I'm experiencing similar problem when adding a mapper to a template. While using the Configuration Wizard / Add Mapping. When I try to link a collection to a Collection filter, I get the message, "An error has occurred." Details are:

System.FormatException:

Input string was not in a correct format.

at System.Number.StringToNumber(String str,

NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean

parseDecimal)

at System.Number.ParseInt32(String s,

NumberStyles style, NumberFormatInfo info)

at System.Convert.ToInt32(String value)

at

Vision.Forms.Extended.MappingComponent.MappingComponentControl.GetFactID(CollapsingRecordNodeItem

crni)

at

Vision.Forms.Extended.MappingComponent.MappingComponentControl.EditFilter(CollapsingRecordNode

crn, Boolean resetFilter)

at

Vision.Forms.Extended.MappingComponent.MappingComponentControl.LaunchFilterOrSortFunctionIfApplies(GoNode

toNode)

at

Northwoods.Go.GoView.OnLinkCreated(GoSelectionEventArgs evt)

at Northwoods.Go.GoToolLinking.DoMouseUp()

at

Northwoods.Go.GoView.OnMouseUp(MouseEventArgs evt)

at

System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button,

Int32 clicks)

at

System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr

hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Versions -

Bizagi (x64)

version 11.1.0.2076

June 2, 2017

Windows 10

Microsoft SQL Server Express (64-bit) / Version: 12.0.2569.0

photo
1

Dear Stephen,

We are going to analyse this case. As soon this possible, we will write back

Regards

photo
1

Dear Users,

Please upgrade your current version to this one: https://bizagi.sharefile.com/d-sa46f47b587e42abb. It solves it.

Regards