Added check for external transitions that point to just a procedure title (not a section or step) when we are trying to delete a procedure.
This commit is contained in:
parent
c65d3e8cdf
commit
b57e0b59d6
@ -8899,7 +8899,7 @@ BEGIN TRY -- Try Block
|
||||
)
|
||||
SET NOCOUNT ON
|
||||
SELECT @ContentID = ContentID, @PreviousItemID = PreviousID FROM Items WHERE ItemID = @ItemID
|
||||
SELECT @NextItemID = ItemID FROM Items WHERE PreviousID = @ItemID
|
||||
SELECT @NextItemID = ItemID FROM Items ii join Contents cc on cc.contentid = ii.contentid WHERE PreviousID = @ItemID and cc.type > 0
|
||||
SELECT @ExternalCount = count(*) FROM vefn_FindExternalTransitions(@ItemID) where rangeid = toid or toid = @ItemID
|
||||
SELECT @ExternalChildCount = count(*) FROM vefn_FindExternalChildTransitions(@ItemID)
|
||||
SET @Path = [dbo].[ve_GetShortPath](@ItemID)
|
||||
|
Loading…
x
Reference in New Issue
Block a user