[JBoss JIRA] (JBRULES-3336) Could not parse knowledge when using 'not contains' in a parentheses leading a '!'
by Miles Wen (Created) (JIRA)
Could not parse knowledge when using 'not contains' in a parentheses leading a '!'
----------------------------------------------------------------------------------
Key: JBRULES-3336
URL: https://issues.jboss.org/browse/JBRULES-3336
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler (expert)
Affects Versions: 5.3.0.Final
Environment: jdk 1.6u27 drools 5.3.0 final
Reporter: Miles Wen
Assignee: Mark Proctor
This code could not be parsed correctly:
rule "out"
when
Msg(!(set not contains "test"))
then
end
I tried a few simple situations and found that when using 'not contains' operator in a '!' leading parentheses triggers this problem. If no '!' prefixing the parentheses,the program works like a charm...
The example above seemed so stupid(you can use a 'contains' operator instead), but this is the simplest toy example.And this problem would be looked more important if you want to write some logic like this:
Msg(!(set not contains "test" || !bool && string == "hello"))
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (JBRULES-3342) Incorrect/Misleading Expert Documentation For Drools XML Language
by Justin Holmes (JIRA)
Justin Holmes created JBRULES-3342:
--------------------------------------
Summary: Incorrect/Misleading Expert Documentation For Drools XML Language
Key: JBRULES-3342
URL: https://issues.jboss.org/browse/JBRULES-3342
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-docs-expert
Affects Versions: 5.4.0.Beta1, 5.3.1.Final, 5.2.0.Final, 5.1.1.FINAL, 5.0.1.FINAL
Environment: None - this a documentation issue
Reporter: Justin Holmes
Assignee: Mark Proctor
The Drools XML language "...has not been developed since drools 4.0, and is considered a deprecated feature." However, the docs for 5.x versions of Drools clearly state, "All the features are available with XML that are available to DRL." As such,the docs need to be updated to reflect the current state of the XML language so users are not mislead.
A simple yellow Warning box at the beginning of the XML section stating that the XML hasn't been developed since 4.0 and is consider deprecated will be enough to properly inform users. Removing the "All features..." would be useful as well.
I'm planning to provided a pull request in the next week or so.do
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (AS7-3755) JSR88 deployment causes errors because of invalid paths
by Wolfgang Knauf (JIRA)
Wolfgang Knauf created AS7-3755:
-----------------------------------
Summary: JSR88 deployment causes errors because of invalid paths
Key: AS7-3755
URL: https://issues.jboss.org/browse/AS7-3755
Project: Application Server 7
Issue Type: Bug
Components: JSR88
Affects Versions: 7.1.0.CR1
Reporter: Wolfgang Knauf
Assignee: Thomas Diesler
I observed two problems when performing JSR88 deployment. Though they are at completely different places, it seems they both have the same root cause: a JSR88 module name, which contains the path to the temp dir, seems to be treated a a file name later.
First observation is this error message when deploying the EAR file attached to #AS7-3474 :
21:24:44,781 ERROR [org.jboss.as.ejb3] (MSC service thread 1-3) JBAS014132: Could not create directory C:\temp\jboss-as-7.1.0.Final-SNAPSHOT\standalone\data\timer-service-data\file:\C:\DOCUME~1\Knuffi\LOCALS~1\Temp\Stateless.StatelessEJB.GeometricModelBean to persist EJB timers.
I don't know whether this breaks something, I just noticed the error message.
And the second problem happened when deploying a small Struts2 sample:
21:23:10,875 FATAL [org.apache.jasper.EmbeddedServletOptions] (MSC service thread 1-4) The scratchDir you specified: C:\temp\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\work\jboss.web\default-host\file:_C:_DOCUME~1_Knuffi_LOCALS~1_Temp_StrutsBasics is unusable.
The path is different, but the problem seems to be the same (here ":" is not removed from the path name). This caused a failed deployment, thus is is really a problem.
I posted the second error plus a small sample (including my famous JSR88 deployer client ;-)) in the JBossWeb forum, but did not receive a reply up to now. See here for the sample: https://community.jboss.org/thread/194841
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months