Adding a custom field
Hi,
I would like to add an new custom field to an existing project that already contains issues.
The custom field creation works fine but when I want to set its value for an existing issue, I get the following error message :
Unexpected row count: 3; expected: 1
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.
<b> Exception Details: </b>NHibernate.AdoNet.TooManyRowsAffectedException: Unexpected row count: 3; expected: 1<br><br>
<b>Source Error:</b> <br><br>
<table bgcolor="#ffffcc" width="100%">
<tbody><tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
</td>
</tr>
</tbody></table>
<br>
<b>Stack Trace:</b> <br><br>
<table bgcolor="#ffffcc" width="100%">
<tbody><tr>
<td>
<code></code><pre>[TooManyRowsAffectedException: Unexpected row count: 3; expected: 1]<br> CounterSoft.Gemini.DataProvider.BaseProvider.SaveOrUpdateEntity(BaseEN beData) +61<br> CounterSoft.Gemini.DataProvider.CustomFieldProvider.SaveCustomFieldData(CustomFieldDataEN cdseData) +252<br> CounterSoft.Gemini.Business.CustomFields.SaveCustomFieldData(Int32 iUserID, Int32 iProjID, Int32 iIssueID, Int32 iCustomFieldID, String strCustomFieldData) +99<br> CounterSoft.Gemini.EditIssue.SaveCustomFields(Int32 iIssueID) +204<br> CounterSoft.Gemini.EditIssue.btnUpdate_Click(Object sender, EventArgs e) +907<br> System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105<br> System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107<br> System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7<br> System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11<br> System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33<br> System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102<br></pre></td></tr></tbody></table></font><br>What can I do ?<br><br>Thanks<br>Alain<br>
epsilon
· 1 |
|
Wednesday, July 18, 2007, 4:21:47 PM |