You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/11/09 17:34:00 UTC

[jira] [Commented] (SLING-9886) Slingfeature-maven-plugin: ITs always succeed

    [ https://issues.apache.org/jira/browse/SLING-9886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17228737#comment-17228737 ] 

Konrad Windszus commented on SLING-9886:
----------------------------------------

Unfortunately there is no newer release of beanshell than 2.0b5: https://github.com/beanshell/beanshell#notice-pending-new-release. This means one has to live with the bug and the verify scripts need to be rewritten!

> Slingfeature-maven-plugin: ITs always succeed
> ---------------------------------------------
>
>                 Key: SLING-9886
>                 URL: https://issues.apache.org/jira/browse/SLING-9886
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>    Affects Versions: slingfeature-maven-plugin 1.4.6
>            Reporter: Konrad Windszus
>            Priority: Major
>             Fix For: slingfeature-maven-plugin 1.4.8
>
>
> Due to the way how the {{verify.bsh}} are written with a return statement after try and catch the following bug is triggered in BSH: https://github.com/beanshell/beanshell/issues/367.
> You can reproduce by just inverting a condition, e.g. in https://github.com/apache/sling-slingfeature-maven-plugin/blob/56caf46d529f7f09e86e0a644357e17d00028263/src/it/apis-jar-wrapper-bundle/verify.bsh#L30 and you see that the build will still not fail.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)