Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Episerver.Forms 5.7.2 and newer crashes on initialization

Vote:
 

I have upgraded Episerver.Forms from 5.7.1 to 5.7.2 on a solution that otherwise has the newest Optimizely nugets.

On initialization, I get the following error in my Startup.cs, and then the application crashes.

EPiServer.Framework.Initialization.InitializationException: 'Initialize action failed for Initialize on class EPiServer.Forms.EditView.InitializationModule, EPiServer.Forms.UI, Version=5.7.2.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'

Inner Exception
EPiServerException: When ACL is not inherited, there must be at least one entry.

This exception was originally thrown at this call stack:
    EPiServer.DataAccess.Internal.ContentAclDB.Save(EPiServer.Core.ContentReference, EPiServer.Security.IContentSecurityDescriptor, EPiServer.Security.SecuritySaveType)
    EPiServer.Core.Internal.DefaultContentProvider.SaveSecurityDescriptor(EPiServer.Core.ContentReference, EPiServer.Security.IContentSecurityDescriptor, EPiServer.Security.SecuritySaveType)
    EPiServer.Core.Internal.DefaultContentSecurityRepository.Save(EPiServer.Core.ContentReference, EPiServer.Security.IContentSecurityDescriptor, EPiServer.Security.SecuritySaveType)
    EPiServer.Forms.EditView.Internal.MigrationService.UpdateMissingUploadFolderACL()
    EPiServer.Forms.EditView.JobScheduler.UpdateUploadFolderACLJob.Execute()
    EPiServer.Forms.EditView.InitializationModule.TryExecuteUpdateFolderACLJob()
    EPiServer.Forms.EditView.InitializationModule.Initialize(EPiServer.Framework.Initialization.InitializationEngine)
    EPiServer.Framework.Initialization.Internal.ModuleNode.Initialize.AnonymousMethod__0()
    EPiServer.Framework.Initialization.Internal.ModuleNode.Execute(System.Action, string)
    EPiServer.Framework.Initialization.Internal.ModuleNode.Initialize(EPiServer.Framework.Initialization.InitializationEngine)

#327411
Aug 13, 2024 9:28
Vote:
 

It seems there is a bug in Forms 5.7.2. I will file a bug to the development team. Thanks for reporting it and apologies for any inconvenience it might have caused

#327596
Aug 16, 2024 11:34
Quan Mai - Aug 16, 2024 11:37
Created bug AFORM-4343 - not yet visible to public
Vote:
 

The bug is now fixed and will be in an upcoming release

#328076
Aug 26, 2024 13:46
Vote:
 

Excellent, thank you.

#328077
Aug 26, 2024 13:47
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.