Handle Range Transitions for Invalid Transitions
Add a prefix to transitions converted to text which were invalid Add counters for invalid transitions converted to text. Added a method to convert invalid transitions to text Cleanup debug Changed the panel so that it only requires a default section if the default is not set and it is required Fix invalid transitions when a step is activated. Don't fail when you open a step with an invalid transition. Display Transition Refresh Statistics
This commit is contained in:
@@ -281,6 +281,12 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
if (args.MyLinkText.LinkInfoText.IndexOf("Transition") > -1)
|
||||
{
|
||||
// B2018-002 - Invalid Transitions - Don't fail on invalid transition
|
||||
if(args.MyLinkText.MyTransitionInfo == null)
|
||||
{
|
||||
MessageBox.Show("This transition is invalid\r\n\r\nDelete it and replace it with \r\na valid transition", "Invalid Transition", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
return; // Not a valid transition
|
||||
}
|
||||
ItemInfo item = args.MyLinkText.MyTranToItemInfo;
|
||||
if (item == null || item.MyDocVersion == null || (item.PreviousID == null && item.ItemPartCount == 0 && item.ItemDocVersionCount == 0))
|
||||
{
|
||||
|
Reference in New Issue
Block a user