An initial screen is shown on session restart and browser refresh iven if no screen was marked as inital (welcome screen). This problem happens in a multitenant project.
The problem is caused by initial screen not being implemened in OrigamDatabaseTenantAuthorizationProvider
In build 2022.2.0.2582 I still see an initial screen without it being defined. Could it be connected to having extra tables OrganizationOrigamApplicationRole, OrganizationOrigamRole and OrganizationOrigamRoleOrigamApplicationRole where the column IsInitialScreen was not added? The screen that is shown is defined in OrganizationOrigamApplicationRole table.
2022-08-03 10:56:27,174 [14] ERROR Origam.Server.Controller.AbstractController - Column 'IsInitialScreen' does not belong to table OrganizationOrigamRoleOrigamApplicationRole.
System.ArgumentException: Column 'IsInitialScreen' does not belong to table OrganizationOrigamRoleOrigamApplicationRole.
at Origam.Security.OrigamDatabaseTenantAuthorizationProvider.RoleList(IPrincipal principal) in D:\a\1\s\backend\Origam.Security\OrigamDatabaseTenantAuthorizationProvider.cs:line 122
at Origam.Security.OrigamDatabaseTenantAuthorizationProvider.Authorize(IPrincipal principal, String context) in D:\a\1\s\backend\Origam.Security\OrigamDatabaseTenantAuthorizationProvider.cs:line 78
at Origam.OrigamEngine.ModelXmlBuilders.MenuXmlBuilder.RenderNode(XmlDocument doc, XmlNode parentNode, AbstractSchemaItem item) in D:\a\1\s\backend\Origam.OrigamEngine\ModelXmlBuilders\MenuXmlBuilder.cs:line 95
at Origam.OrigamEngine.ModelXmlBuilders.MenuXmlBuilder.RenderNode(XmlDocument doc, XmlNode parentNode, AbstractSchemaItem item) in D:\a\1\s\backend\Origam.OrigamEngine\ModelXmlBuilders\MenuXmlBuilder.cs:line 223
at Origam.OrigamEngine.ModelXmlBuilders.MenuXmlBuilder.GetMenu() in D:\a\1\s\backend\Origam.OrigamEngine\ModelXmlBuilders\MenuXmlBuilder.cs:line 44
at Origam.Server.ServerCoreUIService.InitPortal(Int32 maxRequestLength) in D:\a\1\s\backend\Origam.Server\ServerCoreUIService.cs:line 98
at Origam.Server.Controller.UIServiceController.<InitPortal>b__8_0() in D:\a\1\s\backend\Origam.Server\Controller\UIServiceController.cs:line 99
at Origam.Server.Controller.AbstractController.RunWithErrorHandler(Func`1 func) in D:\a\1\s\backend\Origam.Server\Controller\AbstractController.cs:line 87
The field IsInitialScreen had to be added to the Tenant Organization package to OrganizationOrigamRoleOrigamApplicationRole entity, deployment and TenantRoleList data structure.