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

Question

Question

Save to repository task broken

asked on April 14, 2022

Hoping to get some help interpreting this error message on my save to repository task. I haven't gotten something like this before:

 

Error4/13/2022 12:52:07 PM

An error occurred during the execution of the Save to Repository service task. [LFF5426-ErrorExecuteSTR]

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.ObjectNotFoundException

Message: Mismatched entry type; the actual type is Shortcut. [9001] at Laserfiche.RepositoryAccess.EntryInfo.Refresh(Boolean keepChanges) at Laserfiche.RepositoryAccess.DocumentInfo.Refresh(Boolean keepChanges) at Laserfiche.RepositoryAccess.Document.GetDocumentInfo(FolderInfo parentFolder, String docName, Session session) 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 FormsModel.RoutingModels.Services.SaveFormToLaserficheStrategy.SaveAttachmentToLaserfiche(Session session, XmlDocument datasetXml, STLConfigurationObj conf, DocumentInfo rootddoc, String timeZone, String rootFolderPath) at FormsModel.RoutingModels.Services.SaveFormToLaserficheStrategy.SaveToLaserfiche(Session session, XmlDocument datasetXml, List`1 STLConfigList, SaveToLaserficheParameters saveToLaserficheParameters) at FormsModel.RoutingModels.Services.SaveToLaserficheHelper.OpenSessionAndSave(IEntityContext _AppContext, Int32 STLRepositoryId, List`1 STLConfigList, XmlDocument datasetXml, ISaveToLaserficheStrategy saveToLaserficheStrategy, String timeZone) at FormsModel.RoutingModels.Services.SaveToLaserficheHelper.SaveToLaserfiche(IEntityContext _AppContext, Int32 STLRepositoryId, List`1 STLConfigList, XmlDocument datasetXml, ISaveToLaserficheStrategy saveToLaserficheStrategy, String timeZone) at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)

0 0

Answer

SELECTED ANSWER
replied on April 14, 2022

Also, regardless of whether or not Records Management is involved, I believe if there is a shortcut with the same name in the destination folder it can result in this error.

0 0

Replies

replied on April 14, 2022

Based on this "Message: Mismatched entry type; the actual type is Shortcut. [9001]" it sounds like it's trying to save the document as a shortcut.

Is it possible that you're having the same issue mentioned in this post with records management creating a shortcut automatically?  https://answers.laserfiche.com/questions/92997/Error-saving-to-repository-after-LF10-update#92999

1 0
SELECTED ANSWER
replied on April 14, 2022

Also, regardless of whether or not Records Management is involved, I believe if there is a shortcut with the same name in the destination folder it can result in this error.

0 0
replied on April 14, 2022

thanks a bunch! i updated the name and it kicked in :)

1 0
replied on April 14, 2022

Great!  Glad to hear you got it resolved.

Please consider marking the question as answered, and have a great day!

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

Sign in to reply to this post.