You are viewing limited content. For full access, please sign in.

Question

Question

Issue with multi row table in form dropping to repository

asked on September 25, 2024

I am testing out a form, just a portion of it for now, with a table that I will need all fields input to map to the template field in the repository. When I test this with only one row of data, it drops to the repository and assigns the data to the appropriate fields. When I test this with more than one row of data, it does not drop to the repository and gives me an error. I would expect the data for the first and second row to appear in the field with a ; between the entries as happens in other forms where we have multiple rows in a table with data on a form.

Here is the error and screenshots of the form and configurations follow:

An error occurred during the execution of the Save to Repository service task. [LFF5426-ErrorExecuteSTR] Details: URL: Error: ErrorExecuteSTR Date: 9/25/2024 2:09:19 PM (Eastern Standard Time) HTTP Status Code: 500 Business Process ID: 55 Instance ID: 570 Business Process Name: RE - I/E Industrial Manufacturing Other: Bad field value ('RE IE MI Tenant'): Another operation on which this operation depends failed. [9054] Bad field value ('RE IE MI Sq Ft Lsd'): Another operation on which this operation depends failed. [9054] Bad field value ('RE IE MI Lease Start'): Bad field value. [9017] Bad field value ('RE IE MI Lease End'): Bad field value. [9017] Bad field value ('RE IE MI Renewal?'): Another operation on which this operation depends failed. [9054] Bad field value ('RE IE MI Base Rent'): Another operation on which this operation depends failed. [9054] Bad field value ('RE IE MI Other$'): Another operation on which this operation depends failed. [9054] Bad field value ('RE IE MI Total Rent'): Another operation on which this operation depends failed. [9054] Bad field value ('RE IE MI Total Potential $'): Another operation on which this operation depends failed. [9054] Stack Trace: Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException Message: An error occurred during the execution of the Save to Repository service task. [LFF5426-ErrorExecuteSTR] at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus) at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext) Inner exception: Laserfiche.RepositoryAccess.MultiStatusException Message: Multistatus response. [9039] Another operation on which this operation depends failed. [9054] Another operation on which this operation depends failed. [9054] Bad field value. [9017] Bad field value. [9017] Another operation on which this operation depends failed. [9054] Another operation on which this operation depends failed. [9054] Another operation on which this operation depends failed. [9054] Another operation on which this operation depends failed. [9054] Another operation on which this operation depends failed. [9054] at Laserfiche.RepositoryAccess.EntryInfo.Save() at Laserfiche.Forms.CommonUtils.LFHelper.SaveDocWithRetry(EntryInfo lfDoc) at Laserfiche.Forms.CommonUtils.LFHelper.SetValueThenTemplate(EntryInfo lfDoc, String template, FieldValueCollection fvs)

 

This is the form that produced the error:

 

This is the Forms mapping config:

 

This is the field group in the template:

This is one that worked correctly, but only had one row of data in the table:

0 0

Replies

replied on September 25, 2024

I'm not sure if its this simple, but I think you may need "multiple" checked in the templates because you are passing a table with multiple rows to a single template field.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.