Bug: Exception when creating new task while not signed in
This exception occurs because the assigned to list of users applies authorisation check to ensure the user can access those users.
The user needs to be sent to the login page.
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> SoftwareMonkeys.WorkHub.Business.Security.UnauthorisedException: The current user is not authorised to perform the action 'Index' with an entity of type 'User'.
at SoftwareMonkeys.WorkHub.Business.Security.AuthoriseIndexStrategy.EnsureAuthorised(IEntity[]& entities)
at SoftwareMonkeys.WorkHub.Business.Security.AuthoriseIndexStrategy.EnsureAuthorised[T](T[]& entities)
at SoftwareMonkeys.WorkHub.Business.IndexStrategy.Index[T]()
at ASP.Tasks.AssignedUsersSelect_DataLoading(Object sender, EventArgs e)
at SoftwareMonkeys.WorkHub.Web.WebControls.EntitySelect.RaiseDataLoading()
at SoftwareMonkeys.WorkHub.Web.WebControls.EntitySelect.get_DataSource()
at System.Web.UI.WebControls.DataBoundControl.ConnectToDataSourceView()
at System.Web.UI.WebControls.DataBoundControl.OnLoad(EventArgs e)
at SoftwareMonkeys.WorkHub.Web.WebControls.EntitySelect.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.projector_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Confirmed: [+] 0 [-]
Resolved: [+] 0 [-]
| Bug Details |
| Date Reported: | 11/25/2011 5:57:10 PM |
| Status: | Pending |
| Priority: | High |
| Difficulty: | Low |
| Type: | Security |
| Version: | |
| Version to fix for: | |
| Percent Fixed: | 0 |
Issues

 | No issues have been associated with this bug. |
Solutions

 | No solutions have been associated with this bug. |
Tasks

 | No tasks have been associated with this bug. |