'Failure' error when click Modify

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
cs
Posts: 126
Joined: Mon Apr 11, 2005 5:20 am

'Failure' error when click Modify

Post by cs » Tue Oct 16, 2007 5:19 am

When trying to modify one particular item, an error appears just saying 'Failure' and the item details are not shown.

What does the 'Failure' error mean and why can I not modify the item?

I have adequate permissions otherwise the Modify button would not be available I guess.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Oct 16, 2007 7:56 am

Were any errors captured in the Fortress log at the same time that you received the failure error? The fortress log can be found here: C:\WINDOWS\Temp\SGFortress\fortress.log.

What version of Fortress are you on?

cs
Posts: 126
Joined: Mon Apr 11, 2005 5:20 am

Version 1.04

Post by cs » Tue Oct 16, 2007 8:02 am

Each time I do it a new error appears in the log:

2007-10-16 12:25:59.356 mypc.mydomain.local (10.0.0.999)-myusername : Helpers::GetUserInfo Data is Null. This method or property cannot be called on Null values. at System.Data.SqlClient.SqlBuffer.get_String() at System.Data.SqlClient.SqlDataReader.GetString(Int32 i) at MantisSQLService.MantisSQLService.GetBasicUserInfo(MantisSqlConn conn, Int32 nUserID, MantisUser mUser) at MantisServiceAPI.MantisServiceAPI.GetBasicUserInfo(Int32 nUserID, MantisUser& mUser) at MantisServiceLib.Helpers.GetUserInfo(Page mPage, Int32 userid, Boolean bBasic, MantisUser& mUser)

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Oct 16, 2007 12:37 pm

Yes, you should have permissions if you see modify. Something about your using information isn't coming back though.

Two things to check:
1) Have your user information checked and that you have access. Post screenshots showing that if you can.

2) Had the admin removed or changed any of the database options on the item tracking page?

cs
Posts: 126
Joined: Mon Apr 11, 2005 5:20 am

Post by cs » Wed Oct 17, 2007 3:44 am

When logged on as admin the error still appears. As I understand it the administrator has suitable rights to modify, etc.

On the item tracking page, no changes or removals have been made. The details appears correct on the Item details view.

By the way, the attachments to the item open with no problem.

Other items in the Project can be modified.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Oct 17, 2007 12:55 pm

Do you get this error that you posted above in the log no matter what user you use for the modify?
"-myusername : Helpers::GetUserInfo Data is Null. This method or property cannot......."

cs
Posts: 126
Joined: Mon Apr 11, 2005 5:20 am

Post by cs » Wed Oct 17, 2007 1:01 pm

Yes. Any user including Admin.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Thu Oct 18, 2007 12:28 pm

Can you send me an email at support at sourcegear.com (attn: Beth) with a link to this forum post? This is going to take a closer look to figure this one out.

cs
Posts: 126
Joined: Mon Apr 11, 2005 5:20 am

Bug

Post by cs » Fri Oct 19, 2007 7:34 am

This is a bug, fairly easily reproducible.

The original user who was the Assignee, Resolver and Reporter no longer has rights to the project - 'No Access'. The user was also Inactive.

I made the user Active and gave Modify rights to the Project.

Now the Modify button works with any user with appropriate rights and I can change the item.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Fri Oct 19, 2007 8:32 am

I'd like to make sure my environment is the same when I try this. Could you go to Help - Technical Support (in the Vault GUI) while you are connected to the server and copy the client and server information from there and post it?

cs
Posts: 126
Joined: Mon Apr 11, 2005 5:20 am

Post by cs » Fri Oct 19, 2007 9:03 am

Client Information
Fortress Client Version: 1.0.4.15848
.Net Framework Version: 2.0.50727.832
Operating System: Microsoft Windows XP Professional
Service Pack: 2.0
OS Version: 5.1.2600
Total Physical Memory: 1023.01 MB
Time Zone: (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London

Server Information
Fortress Server Version: 1.0.4.15848
.Net Framework Version: 2.0.50727.832
Operating System: Microsoft(R) Windows(R) Server 2003, Standard Edition
Service Pack: 2.0
OS Version: 5.2.3790
Timezone: (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London
SQL Version: Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 2)

License Information
7 serial number(s):
1 of 7: 1 web-only users, permanent
2 of 7: 1 full users, permanent
3 of 7: 1 web-only users, permanent
4 of 7: 1 web-only users, permanent
5 of 7: 1 full users, permanent
6 of 7: 5 full users, permanent
7 of 7: 1 web-only users, permanent

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Fri Oct 19, 2007 4:13 pm

So far, the only way we've been able to make this happen is by deleting one of the necessary values from the database setup page. That page is where one could configure duration values, environment, etc., for the entire database. Can you either post or send me some screenshots showing the values on that page?

Were any new values created and then deleted?

If you don't wish to post those here, you can send them to support at sourcegear.com (attn:Beth) with a link to this forum thread.

Post Reply