clarin-eric / component-registry-rest

Component Registry back end
GNU General Public License v3.0
2 stars 1 forks source link

ComponentSpecValidator: publication status not checked for external components with name attribute are not checked #75

Closed twagoo closed 1 year ago

twagoo commented 1 year ago
    private boolean isDefinedInSeparateFile(ComponentType cmdComponentType) {
        return cmdComponentType.getName() == null;
    }

The correct check would be whether there is a @ComponentRef attribute.