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

Question

Question

Forms Error when uploading a form to overwrite existing form

asked on February 7, 2020

Hey guys, I downloaded one of my forms, tried to upload the exact same xml, no changes, and the overwrite fails. I can upload as a new form without issue, but I need to be able to overwrite.

 

Here is the even viewer log:

An unexpected error has occurred. [LFF502-UnexpectedError]

Details:
URL: /Forms/Handlers/BusinessProcessImporterContinue.ashx?override=true&id=e969c984-ddf1-4241-8b12-78cabbaf9364
Error: UnexpectedError
Date: 2/7/2020 4:17:10 PM (Pacific Standard Time)
HTTP Status Code: 500
Business Process ID: 0
User: TRUSD\myfirstname.mylastname
IP: 10.myIPaddress
Browser: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident/7.0; Touch; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)
Business Process Name: 

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An unexpected error has occurred. [LFF502-UnexpectedError]


Inner exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
   at E_Forms.Handlers.BPXmlHelper.PersistBPFromXmlReader(BusinessProcess bp, LaserficheIdentity currentUser, Dictionary`2 Warnings, List`1 warningExceptions, Int32 upgradeStep, String name, Boolean overwrite, Boolean DeleteStepsWithInstances)
   at E_Forms.Handlers.BPXmlHelper.RunAction(HttpContext context, Boolean OverrideBP, BusinessProcess businessProcess, Int32 upgradeStep)
   at E_Forms.Handlers.BusinessProcessImporterContinue.ProcessRequest(HttpContext context)

Capture.PNG
Capture.PNG (50.86 KB)
0 0

Replies

replied on February 9, 2020

What version of Forms are you using? Are you able to reproduce with following steps:

1. upload as a new process

2. download the new process

3. upload and overwrite the process created at step 1

If the issue can be reproduced with the above steps, can you please open a support case with your Solution Provider by providing the process XML? If the issue can not be reproduced with the above steps, can you please open a support case with your Solution Provider by providing a backup of your Forms database? We will provide workaround after we figure out what cause this issue.

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

Sign in to reply to this post.