Skip to content

Commit

Permalink
Merge pull request #773 from ICRAR/eagle-1315
Browse files Browse the repository at this point in the history
changed a validity test from error to fixable
  • Loading branch information
M-Wicenec authored Nov 13, 2024
2 parents 88b98cc + 78f00f0 commit a4f249b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export class Edge {

// check that we are not connecting an Application component to an Application component, that is not supported
if (sourceNode.getCategoryType() === Category.Type.Application && destinationNode.getCategoryType() === Category.Type.Application){
Edge.isValidLog(edge, draggingPortMode, Errors.Validity.Error, Errors.Show("Application nodes may not be connected directly to other Application nodes", function(){Utils.showEdge(eagle, edgeId);}), showNotification, showConsole, errorsWarnings);
Edge.isValidLog(edge, draggingPortMode, Errors.Validity.Fixable, Errors.Show("Inserted Data node as Application nodes may not be connected directly to other Application nodes", function(){Utils.showEdge(eagle, edgeId);}), showNotification, showConsole, errorsWarnings);
}

// if source node or destination node is a construct, then something is wrong, constructs should not have ports
Expand Down

0 comments on commit a4f249b

Please sign in to comment.