[JBoss JIRA] (ELY-1078) Elytron MatchRule.toString() method throws StringIndexOutOfBoundsException
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/ELY-1078?page=com.atlassian.jira.plugin.s... ]
Darran Lofthouse updated ELY-1078:
----------------------------------
Fix Version/s: 1.1.0.Beta47
(was: 1.1.0.Beta46)
> Elytron MatchRule.toString() method throws StringIndexOutOfBoundsException
> --------------------------------------------------------------------------
>
> Key: ELY-1078
> URL: https://issues.jboss.org/browse/ELY-1078
> Project: WildFly Elytron
> Issue Type: Bug
> Affects Versions: 1.1.0.Beta36
> Reporter: Ondrej Lukas
> Assignee: Darran Lofthouse
> Priority: Critical
> Fix For: 1.1.0.Beta47
>
>
> In case when implementation of {{asString(StringBuilder b)}} for MatchRule does not change length of passed parameter (which is 0) then 'java.lang.StringIndexOutOfBoundsException: String index out of range: -1' is thrown for calling {{MatchRule.toString()}} due to calling {{StringBuilder.setLength(-1)}}.
> e.g. MatchRule {{ALL}} in implementation {{asString(StringBuilder b)}} just returns passed parameter, which results to mentioned exception.
> Thrown exception:
> {code}
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.AbstractStringBuilder.setLength(AbstractStringBuilder.java:180)
> at java.lang.StringBuilder.setLength(StringBuilder.java:76)
> at org.wildfly.security.auth.client.MatchRule.toString(MatchRule.java:581)
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (DROOLS-1572) Figure 4.2. Example POM shows old maven group/artifactId
by Matteo Mortari (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1572?page=com.atlassian.jira.plugi... ]
Matteo Mortari commented on DROOLS-1572:
----------------------------------------
Concerning Eclipse, this is normal behaviour of Maven-based project managed from the Eclipse IDE: normally all maven-plugin shall have a corresponding m2e eclipse lifecycle-mapping plugin configuration. This is demonstrated when creating a new project using the Kie archertype, when setting the IDE related flag. The lifecycle-mapping configuration can be left as ignore which is the default, or changed to execution depending on the preferred use case. When the proper Maven build is triggered from the Eclipse IDE, then the Maven build process will use the kie-maven-plugin as expected anyway.
> Figure 4.2. Example POM shows old maven group/artifactId
> --------------------------------------------------------
>
> Key: DROOLS-1572
> URL: https://issues.jboss.org/browse/DROOLS-1572
> Project: Drools
> Issue Type: Enhancement
> Components: docs
> Affects Versions: 6.5.0.Final, 7.0.0.CR3
> Environment: Google Chrome
> Reporter: Russell Morrisey
> Assignee: Mario Fusco
>
> In the Drools documentation, figure 4.2 (*Example project layout and Maven POM*) shows the wrong groupId and artifactId. The correct artifact is:
> {code:java}
> org.kie:kie-maven-plugin:${runtime.version}
> {code}
> In addition, the new plugin causes an error in Eclipse unless a section is added to the POM for the eclipse lifecycle-mapping plugin.
> https://docs.jboss.org/drools/release/latest/drools-docs/html_single/#_bu...
> https://stackoverflow.com/questions/26122801/m2e-connector-for-kie-maven-...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (DROOLS-1141) KieScanner: add support for listeners
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1141?page=com.atlassian.jira.plugi... ]
Mario Fusco resolved DROOLS-1141.
---------------------------------
Resolution: Done
Implemented with DROOLS-1565
> KieScanner: add support for listeners
> -------------------------------------
>
> Key: DROOLS-1141
> URL: https://issues.jboss.org/browse/DROOLS-1141
> Project: Drools
> Issue Type: Feature Request
> Components: core engine
> Affects Versions: 6.4.0.Final
> Reporter: Marek Winkler
> Assignee: Mario Fusco
>
> For testing purposes, it could be handy to allow user to register listeners to KieScanner. We were thinking about the following events:
> - beforeScan
> - afterScan
> The afterScan method could receive an Event object as a parameter describing what was actually updated during the scan (e.g., what artifacts to which versions?), probably a {{ReleaseId}}?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months