Community
Participate
Working Groups
When an end of an Association is not a valid type, the auditor is throwing two errors: one that its not a known type and one that the end type is "not suitable"
problem is in AssociationEnd.java public static boolean isSuitableType(IType type){ if (type.isArtifact()){ if (suitableTypes == null) loadSuitableTypes(); IAbstractArtifact typeArtifact = type.getArtifact(); if (suitableTypesList.contains(typeArtifact.getClass())){ return true; } } return false; } So if the type is not an Artifact it Barfs.... But how do we tell if its not even a known type - that's a java check...
This should not occur that frequently that I see it as a problem.
As long as the user is presented with the correct error message, I think it's fine. Not really worth getting rid of second error message.