B2016-055 - Answering No to a dialog when doing a paste replace of a procedure was causing the code to crash.
B2016-048 - Editing an existing transition was causing the code to crash.
This commit is contained in:
@@ -75,6 +75,7 @@ namespace VEPROMS.CSLA.Library
|
||||
"\r\n\r\nSubsteps with Problem Transitions:" +
|
||||
exTrans.Summarize(),
|
||||
"Cannot Delete This Step", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
if (ans == DialogResult.No) return this;// If answer "NO" then return self
|
||||
if (ans == DialogResult.Yes)
|
||||
{
|
||||
return exTrans[0].MyContent.ContentItems[0];
|
||||
@@ -2031,6 +2032,7 @@ namespace VEPROMS.CSLA.Library
|
||||
catch (Exception ex)
|
||||
{
|
||||
ItemInfo iii = itemInfo.HandleSqlExceptionOnDelete(ex);
|
||||
if (iii == itemInfo) return null;// If self returned then return null
|
||||
if (iii != null) return iii;
|
||||
if (!HandleSqlExceptionOnCopy(ex))
|
||||
{
|
||||
|
Reference in New Issue
Block a user