docs: protected CmsRelationType getRelationType(String path) {
  
          CmsRelationType result = getContentDefinition().getContentHandler().getRelationType(path);
          I_CmsXmlDocument document = getDocument();
          if (document != null) {
              // the relations set in the main content definition override relations set in the nested definition
              result = document.getContentDefinition().getContentHandler().getRelationType(getPath(), result);
          } else {
              LOG.warn("Missing document while evaluating relation type for " + path);
          }
          return result;
      }