[jboss-jira] [JBoss JIRA] (DROOLS-2591) Re-Loading of updated SNAPSHOT KJars is broken

Nils Meyer (JIRA) issues at jboss.org
Mon May 28 11:15:00 EDT 2018


    [ https://issues.jboss.org/browse/DROOLS-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13583002#comment-13583002 ] 

Nils Meyer commented on DROOLS-2591:
------------------------------------

Debugging it down getSnapshotVersion() returned NULL for oldSnapshotVersion in org.drools.compiler.kie.builder.impl.KieRepositoryImpl.KieModuleRepo.load(InternalKieScanner, ReleaseId, VersionRange) and therefore not comparison was triggered. 

Seeing this I had a look at the test org.kie.scanner.KieRepositoryScannerNexusTest and realized, it's not realistic in that sense, as it's removing the old SNAPSHOT version from the KieRepository, before resolving the new one, therefore no comparison is needed. 

Additionally added a potential solution how I'd see that SNAPSHOT version could be filled in all places, but being not sure about the side effects. 

> Re-Loading of updated SNAPSHOT KJars is broken
> ----------------------------------------------
>
>                 Key: DROOLS-2591
>                 URL: https://issues.jboss.org/browse/DROOLS-2591
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 7.1.0.Final, 7.7.0.Final
>            Reporter: Nils Meyer
>            Assignee: Edson Tirelli
>
> Re-loading updated SNAPSHOT versions of a KJar from a remote maven repository seems to be broken since 7.1.0. My code is working for 7.0.0 but not for 7.1.0 and 7.7.0. I did not test versions in between. 



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list