Hi,
We have 2 file archive controls on 1 page in MojoPortal to share files with customers. After a folder is created we can click the edit button on the folder and the edit page will show for 1 of the archive control, the other file archive control will throw the following exception :
Exception
2018-03-28 12:16:30,333 ERROR 85.197.153.42 - sv-SE - /SharedFiles/Edit.aspx?pageid=3&ItemID=21~folder&mid=5 - mojoPortal.Web.Global - Referrer(https://www.orbitsupport.se/produkter.aspx) useragent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.SharedFilesUI.SharedFilesHelper.GetAllParentsFolder(SharedFileFolder folder, List`1 allFolders)
at mojoPortal.Web.SharedFilesUI.SharedFilesHelper.GetAllParentsFolderIds(SharedFileFolder folder, List`1 allFolders)
at mojoPortal.Web.SharedFilesUI.SharedFilesEdit.PopulateFolderControls()
at mojoPortal.Web.SharedFilesUI.SharedFilesEdit.PopulateControls()
at mojoPortal.Web.SharedFilesUI.SharedFilesEdit.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2018-03-28 12:17:16,942 ERROR 85.197.153.42 - sv-SE - /SharedFiles/Edit.aspx?pageid=3&ItemID=26~folder&mid=5 - mojoPortal.Web.Global - Referrer(https://www.orbitsupport.se/produkter.aspx) useragent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.SharedFilesUI.SharedFilesHelper.GetAllParentsFolder(SharedFileFolder folder, List`1 allFolders)
at mojoPortal.Web.SharedFilesUI.SharedFilesHelper.GetAllParentsFolderIds(SharedFileFolder folder, List`1 allFolders)
at mojoPortal.Web.SharedFilesUI.SharedFilesEdit.PopulateFolderControls()
at mojoPortal.Web.SharedFilesUI.SharedFilesEdit.PopulateControls()
at mojoPortal.Web.SharedFilesUI.SharedFilesEdit.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
It does not mather if its a existing folder or a newly created one.
Also, is there any way to set the desciption on folder?
Systeminformation
mojoPortal Version2.4.0.8 MySQL
Operating SystemMicrosoft Windows NT 6.3.9600.0
ASP.NET Information4.0.30319.42000 Running in Full Trust
Serverns tidszon:W. Europe Daylight Time
Serverns lokala tid:(GMT 2) 2018-03-28 12:26:10
Tiden nu i Greenwich (sk. GMT eller UTC):2018-03-28 10:26:10
Version av funktion
FunktionSchemaversion
blog2.6.1.7
contactform0.0.0.6
eventcalendar0.0.0.6
feed-manager1.0.1.1
forums2.2.0.5
imagegallery0.0.0.8
kdmediaplayer1.0.0.1
linksmodule1.0.0.9
pollfeature-byChristianFredh0.0.0.5
sharedfiles1.0.0.0
surveyfeature1.8.0.0
webstore0.0.7.3