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

Question

Question

Save to Laserfiche Error Log

asked on August 2, 2016

I had someone submit a form with two attachments. The form save but the attachments failed to save.

Please see the Error Log below.

 

An unexpected error has occurred. [LFF502-UnexpectedError]

Details:
URL: 
Error: UnexpectedError
Date: 7/26/2016 10:19:03 AM (Central Standard Time)
HTTP Status Code: 500
Business Process ID: 78
Instance ID: 611
Business Process Name: HR - Application

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


Inner exception: Laserfiche.RepositoryAccess.ObjectNotFoundException
Message: Entry not found. [9001]
   at Laserfiche.RepositoryAccess.EntryLock.LockInternal(HttpUrl url, LockType type, Dictionary`2 additionalHeaders, String etag)
   at Laserfiche.RepositoryAccess.EntryLock..ctor(EntryInfo info, EntryNameOption options)
   at Laserfiche.RepositoryAccess.Entry.MakeDocFolderWithLock(EntryInfo info, EntryNameOption options)
   at Laserfiche.Forms.CommonUtils.LFHelper.CreateNewLFDocument(Session lfDb, String newDocumentName, FolderInfo lfParentFolder, Boolean autoRename, String volume, String ext, Boolean AddExt, Boolean& checkOutVersionDocument)
   at Laserfiche.Forms.CommonUtils.LFHelper.TryImportAttachment(Session sess, cf_bp_attachment_data attachment, FolderInfo parentFolder, String volume, String attachmentName, String ext)
   at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)
   at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext)
 

0 0

Answer

SELECTED ANSWER
replied on August 7, 2016

That explains why you get such error, it's because the document are moved to other place when Forms still need it. You can change it to start the workflow from Forms or add wait for some time(such as 2 seconds) in the workflow before moving the document

2 0

Replies

replied on August 5, 2016

Do you have workflow to move around the saved files?

0 0
replied on August 5, 2016 Show version history

Yes...I do. Should I have the Forms process kick off the workflow instead of kicking it off when a document comes into the repository.

0 0
SELECTED ANSWER
replied on August 7, 2016

That explains why you get such error, it's because the document are moved to other place when Forms still need it. You can change it to start the workflow from Forms or add wait for some time(such as 2 seconds) in the workflow before moving the document

2 0
replied on August 8, 2016

Yes! I will make those changes!

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

Sign in to reply to this post.