Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Error after creating new issue type

web-app

I just created a new issue type called "Requirement" then tried to use the issue type for a new issue I was creating. Saving the issue caused the following error to occur.

Stack Trace:

[HibernateException: More than one row with the given identifier was found: 75, for class: CounterSoft.Gemini.Commons.IssueEN]
   CounterSoft.Gemini.DataProvider.BaseProvider.xed13681995a31cce(Int32 x393de4c0b06af281, Type x86c43ef36e14f2a3) +232
   CounterSoft.Gemini.DataProvider.IssueProvider.xaf8b3b2298b9a538(Int32 x12bfb74508995ace) +25
   CounterSoft.Gemini.Business.x95da312ae9372c2e.xe6c068ecd01330f5(IssueEN x22c77d60925997e9, Int32 xdf6548ad179b4d83, Boolean xcbecc09e33c13ebd) +6474
   CounterSoft.Gemini.Business.x95da312ae9372c2e.xe6c068ecd01330f5(IssueEN x22c77d60925997e9, Int32 xdf6548ad179b4d83) +7
   CounterSoft.Gemini.EditIssue.btnUpdate_Click(Object sender, EventArgs e) +178
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

mohaaron
· 1
mohaaron
Replies (3)
helpful
0
not helpful

I'm now realizing that when creating a new issue type nothing stopped me from entering the new issue type with a id that another issue type was already using. Now I have two types with the same id which throws error when ever I and do anything with an issue that has that id. How do I fix this?


mohaaron
· 1
mohaaron
helpful
0
not helpful

I fixed this by manually updating the typeid value for Requirement using Query Analyzer.

I think there should be some validation to stop this from happening.


mohaaron
· 1
mohaaron
helpful
0
not helpful

Saar Cohen
· 5000
Saar Cohen