You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deleting a portal (Persona Bar "Sites") doesn't work.
Steps to reproduce
Go to Persona Bar, Manage, Sites.
Mouseover a site and click the trashcan icon to delete.
Current result
A generic error pops up, nothing is logged in the Event Log, but an error message appears in the xxx.log.resources file:
2018-10-01 11:17:37.780-04:00 [Surface-Joe][D:2][T:15][ERROR] Dnn.PersonaBar.Sites.Services.SitesController - System.UnauthorizedAccessException: Access to 'C:\Users\Joe\Documents\Websites\DNN921-test\Website' denied. ---> System.ComponentModel.Win32Exception: Access is denied
--- End of inner exception stack trace ---
at SchwabenCode.QuickIO.Internal.InternalQuickIOCommon.NativeExceptionMapping(String path, Int32 errorCode)
at SchwabenCode.QuickIO.Internal.InternalQuickIO.GetFindDataFromPath(QuickIOPathInfo pathInfo)
at DotNetNuke.Common.Utilities.FileSystemUtils.DeleteFilesRecursive(String strRoot, String filter)
at DotNetNuke.Entities.Portals.PortalController.DeletePortal(PortalInfo portal, String serverPath)
at Dnn.PersonaBar.Sites.Services.SitesController.DeletePortal(Int32 portalId)
Expected result
Site is deleted
Screenshots
If applicable, provide screenshots to help explain your problem.
Error log
There is no Event Log entry.
The error in xx.log.resources is:
the xxx.log.resources file:
2018-10-01 11:17:37.780-04:00 [Surface-Joe][D:2][T:15][ERROR] Dnn.PersonaBar.Sites.Services.SitesController - System.UnauthorizedAccessException: Access to 'C:\Users\Joe\Documents\Websites\DNN921-test\Website' denied. ---> System.ComponentModel.Win32Exception: Access is denied
--- End of inner exception stack trace ---
at SchwabenCode.QuickIO.Internal.InternalQuickIOCommon.NativeExceptionMapping(String path, Int32 errorCode)
at SchwabenCode.QuickIO.Internal.InternalQuickIO.GetFindDataFromPath(QuickIOPathInfo pathInfo)
at DotNetNuke.Common.Utilities.FileSystemUtils.DeleteFilesRecursive(String strRoot, String filter)
at DotNetNuke.Entities.Portals.PortalController.DeletePortal(PortalInfo portal, String serverPath)
at Dnn.PersonaBar.Sites.Services.SitesController.DeletePortal(Int32 portalId)
Additional context
Instead, I get a generic error box popping up over the Personal Bar, nothing in the Event Log, but this in
I can delete portals in 8.0.4.
In poking around, deleting a portal (8.0.4) doesn't delete a lot of stuff in most of the portal related tables. I think that it should ...
Affected version
[] 9.2.2
9.2.1
[] 9.2
[] 9.1.1
9.1
9.0
Affected browser
N/A
Chrome
Firefox
Safari
Internet Explorer
Edge
The text was updated successfully, but these errors were encountered:
This PR was mistakenly merged into development instead of release/9.4.x and then release/9.4.x was merged into development, thus reverting this fix by mistake.
@zyhfish will resubmit this targetting release/9.4.x soon
Description of bug
Deleting a portal (Persona Bar "Sites") doesn't work.
Steps to reproduce
Go to Persona Bar, Manage, Sites.
Mouseover a site and click the trashcan icon to delete.
Current result
A generic error pops up, nothing is logged in the Event Log, but an error message appears in the xxx.log.resources file:
2018-10-01 11:17:37.780-04:00 [Surface-Joe][D:2][T:15][ERROR] Dnn.PersonaBar.Sites.Services.SitesController - System.UnauthorizedAccessException: Access to 'C:\Users\Joe\Documents\Websites\DNN921-test\Website' denied. ---> System.ComponentModel.Win32Exception: Access is denied
--- End of inner exception stack trace ---
at SchwabenCode.QuickIO.Internal.InternalQuickIOCommon.NativeExceptionMapping(String path, Int32 errorCode)
at SchwabenCode.QuickIO.Internal.InternalQuickIO.GetFindDataFromPath(QuickIOPathInfo pathInfo)
at DotNetNuke.Common.Utilities.FileSystemUtils.DeleteFilesRecursive(String strRoot, String filter)
at DotNetNuke.Entities.Portals.PortalController.DeletePortal(PortalInfo portal, String serverPath)
at Dnn.PersonaBar.Sites.Services.SitesController.DeletePortal(Int32 portalId)
Expected result
Site is deleted
Screenshots
If applicable, provide screenshots to help explain your problem.
Error log
There is no Event Log entry.
The error in xx.log.resources is:
the xxx.log.resources file:
2018-10-01 11:17:37.780-04:00 [Surface-Joe][D:2][T:15][ERROR] Dnn.PersonaBar.Sites.Services.SitesController - System.UnauthorizedAccessException: Access to 'C:\Users\Joe\Documents\Websites\DNN921-test\Website' denied. ---> System.ComponentModel.Win32Exception: Access is denied
--- End of inner exception stack trace ---
at SchwabenCode.QuickIO.Internal.InternalQuickIOCommon.NativeExceptionMapping(String path, Int32 errorCode)
at SchwabenCode.QuickIO.Internal.InternalQuickIO.GetFindDataFromPath(QuickIOPathInfo pathInfo)
at DotNetNuke.Common.Utilities.FileSystemUtils.DeleteFilesRecursive(String strRoot, String filter)
at DotNetNuke.Entities.Portals.PortalController.DeletePortal(PortalInfo portal, String serverPath)
at Dnn.PersonaBar.Sites.Services.SitesController.DeletePortal(Int32 portalId)
Additional context
Instead, I get a generic error box popping up over the Personal Bar, nothing in the Event Log, but this in
I can delete portals in 8.0.4.
In poking around, deleting a portal (8.0.4) doesn't delete a lot of stuff in most of the portal related tables. I think that it should ...
Affected version
Affected browser
N/A
The text was updated successfully, but these errors were encountered: