BugNET

Open source issue tracking & project management

Forums

HomeHomeSupportSupportGeneral SupportGeneral SupportError viewing issue detailsError viewing issue details
Previous
 
Next
New Post
6/21/2010 7:09 AM
 
Hi all,

I have just installed BugNET 0.8.193.0

I created a test project under the admin login, i also added an issue to this project.
I then created an additional user and assigned him to this test project.
Finally i assigned the "Reporter" role to this new user.

I can log into bugnet with the new user however when i click the title of an issue on the issue list i receive an error.

it seems this error happens for ALL roles apart from the "Project Administrators" role.

The stack trace from the error log is:

System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at BugNET.Issues.IssueDetail.SetFieldSecurity()
   at BugNET.Issues.IssueDetail.Page_PreRender(Object sender, EventArgs e)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   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.issues_issuedetail_aspx.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)





any ideas??
 
New Post
6/21/2010 12:39 PM
 
DarrenW wrote:
Hi all,

I have just installed BugNET 0.8.193.0

I created a test project under the admin login, i also added an issue to this project.
I then created an additional user and assigned him to this test project.
Finally i assigned the "Reporter" role to this new user.

I can log into bugnet with the new user however when i click the title of an issue on the issue list i receive an error.

it seems this error happens for ALL roles apart from the "Project Administrators" role.

The stack trace from the error log is:

System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at BugNET.Issues.IssueDetail.SetFieldSecurity()
   at BugNET.Issues.IssueDetail.Page_PreRender(Object sender, EventArgs e)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   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.issues_issuedetail_aspx.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)





any ideas??
Set at least one status with the "is closed status" flag.

Davin Dubeau

follow us on twitter facebook users group google plus
 
New Post
6/22/2010 1:20 AM
 
Hi Davin,

Many thanks for your reply.

Are these the status that we set and create when we add a new project? If so, i had the status os "New" set for the issue.

or am i looking in the wrong place?

On a side note all of a sudden it is displaying, though i am not sure what i did to make it happen... i would like to understand what may have caused it so i can ensure it doesnt happen again.

regards
 
New Post
6/22/2010 5:45 AM
 

Hi again,

Ok, so i started a new project, created an issue and again i can't view the details with the "Reporter" role.

Sorry, i have no idea what you mean when you say set at least one of the staus to closed.

Surely the reporter should be able to view the details with no error?

coudl you please clarify and expand on your reply - trying so desparately to get this working.......

cheers
Darren

 
New Post
6/22/2010 5:51 AM
 
DarrenW wrote:

Hi again,

Ok, so i started a new project, created an issue and again i can't view the details with the "Reporter" role.

Sorry, i have no idea what you mean when you say set at least one of the staus to closed.

Surely the reporter should be able to view the details with no error?

coudl you please clarify and expand on your reply - trying so desparately to get this working.......

cheers
Darren

Hi Darren, 

Sorry for the confusion and I will clarify.  Go to the project administration page then milestones.  Ensure that one of the milestones that you have created has the "Is Closed Status" set to true.  The reporter role has restrictive access rights and I believe that if there is not a milestone with this flag set the code will error.

Cheers,
Davin

Davin Dubeau

follow us on twitter facebook users group google plus
 
Previous
 
Next
HomeHomeSupportSupportGeneral SupportGeneral SupportError viewing issue detailsError viewing issue details


Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.