error with Non required BCS column

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
PSB
Posts: 15
Joined: Thu Oct 25, 2018

26 Nov 2018

Hello.

I have a some problem:
1. I create simple library with docset content type
2. I add Non required (!) BCS column in library
3. Create spform int new form and add non required BCS column

If I create new docset and not fill BCS column - sharepoint show this error:

Code: Select all

Exception information: 
    Exception type: ArgumentOutOfRangeException 
    Exception message: Index was out of range. Must be non-negative and less than the size of the collection parameter name:index
   в System.Collections.ArrayList.get_Item(Int32 index)
   в FormsDesigner.Sharepoint.NewDocSetSaveButton.SaveItem()
   в FormsDesigner.Sharepoint.NewDocSetSaveButton.OnBubbleEvent(Object source, EventArgs e)
   в System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   в System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  
Request information: 
    Request URL: http://bc-sptest-wfe1/Contracts/DocLib/Forms/fd_Contract_New.aspx?List=0c56217f-f4b4-404d-8697-fa43f8dcf861&Source=http://bc-sptest-wfe1/Contracts/DocLib/Forms/1.aspx&ContentTypeId=0x0120D520007E94933429C9EF40A4C04CD726C2FDB0002C58ADC27F61444984DC621C304E1596&RootFolder=/Contracts/DocLib 
    Request path: /Contracts/DocLib/Forms/fd_Contract_New.aspx 
    Is authenticated: True 
    Authentication Type: Federation 
 
Thread information: 
    Thread ID: 110 
    Is impersonating: False 
    Stack trace:    в System.Collections.ArrayList.get_Item(Int32 index)
   в FormsDesigner.Sharepoint.NewDocSetSaveButton.SaveItem()
   в FormsDesigner.Sharepoint.NewDocSetSaveButton.OnBubbleEvent(Object source, EventArgs e)
   в System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   в System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
If I fill in an optional field - there is no error
If I reset spform and create standard form - all ok

____________________
SP2013, last CU + Forms Designe Clien 3.1.4

PSB
Posts: 15
Joined: Thu Oct 25, 2018

26 Nov 2018

if you turn on the console and see requests - you can see the difference:

Standard submin non required BCS field:

Code: Select all

ctl00$ctl40$g_b396715b_48d8_4c0a_ab35_8b59c38609d0$testBcsField$ctl00$4c460bc4_d3bf_4899_9a4d_ac635ef75511_Picker$hiddenSpanData:  
ctl00$ctl40$g_b396715b_48d8_4c0a_ab35_8b59c38609d0$testBcsField$ctl00$4c460bc4_d3bf_4899_9a4d_ac635ef75511_Picker$OriginalEntities: <Entities />
ctl00$ctl40$g_b396715b_48d8_4c0a_ab35_8b59c38609d0$testBcsField$ctl00$4c460bc4_d3bf_4899_9a4d_ac635ef75511_Picker$HiddenEntityKey: 
ctl00$ctl40$g_b396715b_48d8_4c0a_ab35_8b59c38609d0$testBcsField$ctl00$4c460bc4_d3bf_4899_9a4d_ac635ef75511_Picker$HiddenEntityDisplayText: 
ctl00$ctl40$g_b396715b_48d8_4c0a_ab35_8b59c38609d0$testBcsField$ctl00$4c460bc4_d3bf_4899_9a4d_ac635ef75511_Picker$downlevelTextBox: &#160;
SPForm submin non required BCS field:

Code: Select all

tl00$PlaceHolderMain$idDocSetDisplayFormWebPart$ctl00$ctl02$ctl01$ctl00$ctl00$ctl05$ctl00$4c460bc4_d3bf_4899_9a4d_ac635ef75511_Picker$hiddenSpanData: &nbsp;
ctl00$PlaceHolderMain$idDocSetDisplayFormWebPart$ctl00$ctl02$ctl01$ctl00$ctl00$ctl05$ctl00$4c460bc4_d3bf_4899_9a4d_ac635ef75511_Picker$OriginalEntities: <Entities />
ctl00$PlaceHolderMain$idDocSetDisplayFormWebPart$ctl00$ctl02$ctl01$ctl00$ctl00$ctl05$ctl00$4c460bc4_d3bf_4899_9a4d_ac635ef75511_Picker$HiddenEntityKey: 
ctl00$PlaceHolderMain$idDocSetDisplayFormWebPart$ctl00$ctl02$ctl01$ctl00$ctl00$ctl05$ctl00$4c460bc4_d3bf_4899_9a4d_ac635ef75511_Picker$HiddenEntityDisplayText: 
ctl00$PlaceHolderMain$idDocSetDisplayFormWebPart$ctl00$ctl02$ctl01$ctl00$ctl00$ctl05$ctl00$4c460bc4_d3bf_4899_9a4d_ac635ef75511_Picker$downlevelTextBox: &#160;

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

28 Nov 2018

Hi!

We are working on your issue.

PSB
Posts: 15
Joined: Thu Oct 25, 2018

28 Nov 2018

Thanks. Keep me informed.
My project ends this month. And with this error it is impossible to do.
I recommended to my Customer to buy 5 licenses for SPForm and now it is not clear how to justify these costs.

PSB
Posts: 15
Joined: Thu Oct 25, 2018

29 Nov 2018

any news?

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

30 Nov 2018

Dear PSB,
There indeed was a bug. I've replied to you in a private message, please, check it out!
Cheers

PSB
Posts: 15
Joined: Thu Oct 25, 2018

01 Dec 2018

Thank you, bug fixed!

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 18 guests