Is there an existing issue for this?
What happened?
When a new portal is created the portal UserTabId and SearchTabId is not initalised because it is retrived by english page path.
The path is deferent in the french default portal template for example.
in PortalController.cs
`
var obsoletePortal = this.GetPortal(portalId);
IPortalInfo portal = obsoletePortal;
portal.Description = description;
portal.KeyWords = keyWords;
portal.UserTabId = TabController.GetTabByTabPath(portal.PortalId, "//UserProfile", portal.CultureCode);
if (portal.UserTabId == -1)
{
portal.UserTabId = TabController.GetTabByTabPath(portal.PortalId, "//ActivityFeed", portal.CultureCode);
}
portal.SearchTabId = TabController.GetTabByTabPath(portal.PortalId, "//SearchResults", portal.CultureCode);
`
Related to #3219
Steps to reproduce?
- create a new DNN installation (or a new portal in a existing installation) in french language
- go to portal setting
- You see that Page profil utilisateur and Page de résultats de recherche is empty
Current Behavior
User profile page and Search result page not initalisated
Expected Behavior
User profile page and Search result page is automaticaly initialised on new portal creation.
Relevant log output
Anything else?
No response
Affected Versions
10.3.1 (latest release)
What browsers are you seeing the problem on?
Chrome
Code of Conduct
Is there an existing issue for this?
What happened?
When a new portal is created the portal UserTabId and SearchTabId is not initalised because it is retrived by english page path.
The path is deferent in the french default portal template for example.
in PortalController.cs
`
var obsoletePortal = this.GetPortal(portalId);
IPortalInfo portal = obsoletePortal;
portal.Description = description;
portal.KeyWords = keyWords;
portal.UserTabId = TabController.GetTabByTabPath(portal.PortalId, "//UserProfile", portal.CultureCode);
if (portal.UserTabId == -1)
{
portal.UserTabId = TabController.GetTabByTabPath(portal.PortalId, "//ActivityFeed", portal.CultureCode);
}
portal.SearchTabId = TabController.GetTabByTabPath(portal.PortalId, "//SearchResults", portal.CultureCode);
`
Related to #3219
Steps to reproduce?
Current Behavior
User profile page and Search result page not initalisated
Expected Behavior
User profile page and Search result page is automaticaly initialised on new portal creation.
Relevant log output
Anything else?
No response
Affected Versions
10.3.1 (latest release)
What browsers are you seeing the problem on?
Chrome
Code of Conduct