gitgabrio commented on PR #3823: URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3823#issuecomment-2575473257
@porcelli Could you pls try with: ```java private String extractModelVersion(DMNResource resource) { String toReturn = resource.getDmnModel().getDefinitions().getTypeLanguage(); if (toReturn == null || toReturn.isEmpty()) { LOGGER.error("Could not extract DMN version from DMN model {}", resource.getDmnModel().getName()); throw new IllegalStateException("The DMN model does not contain a unique model version in the metadata."); } return toReturn; } ``` so that the CI will check it also downstream ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For additional commands, e-mail: commits-h...@kie.apache.org