[jboss-jira] [JBoss JIRA] (DROOLS-909) DROOLS-909: KIE Workbench: ExpressionBuilder does not include all MethodInformation's in selector

Ido Reshef (JIRA) issues at jboss.org
Mon Oct 19 13:55:00 EDT 2015


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

Ido Reshef commented on DROOLS-909:
-----------------------------------

Hi Michael,
Sorry for Bothering... 
But did the fix actually got in 6.3.Final as indicated in ticket ?
Thanks and all the best,
Eido

> DROOLS-909: KIE Workbench: ExpressionBuilder does not include all MethodInformation's in selector
> -------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-909
>                 URL: https://issues.jboss.org/browse/DROOLS-909
>             Project: Drools
>          Issue Type: Bug
>          Components: kie server
>    Affects Versions: 6.2.0.Final
>         Environment: No LSB modules are available.
> Distributor ID: Ubuntu
> Description:    Ubuntu 12.04 LTS
> Release:        12.04
> Codename:       precise
> CPU: 
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 44
> model name      : Intel(R) Xeon(R) CPU           X5675  @ 3.07GHz
> stepping        : 2
> microcode       : 0x15
> cpu MHz         : 3066.775
> cache size      : 12288 KB
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 11
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm ida arat epb dts
> bogomips        : 6133.55
> clflush size    : 64
> cache_alignment : 64
> address sizes   : 40 bits physical, 48 bits virtual
> power management:
> processor       : 1
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 44
> model name      : Intel(R) Xeon(R) CPU           X5675  @ 3.07GHz
> stepping        : 2
> microcode       : 0x15
> cpu MHz         : 3066.775
> cache size      : 12288 KB
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 11
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm ida arat epb dts
> bogomips        : 6133.55
> clflush size    : 64
> cache_alignment : 64
> address sizes   : 40 bits physical, 48 bits virtual
> power management:
> processor       : 2
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 44
> model name      : Intel(R) Xeon(R) CPU           X5675  @ 3.07GHz
> stepping        : 2
> microcode       : 0x15
> cpu MHz         : 3066.775
> cache size      : 12288 KB
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 11
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm ida arat epb dts
> bogomips        : 6133.55
> clflush size    : 64
> cache_alignment : 64
> address sizes   : 40 bits physical, 48 bits virtual
> power management:
> processor       : 3
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 44
> model name      : Intel(R) Xeon(R) CPU           X5675  @ 3.07GHz
> stepping        : 2
> microcode       : 0x15
> cpu MHz         : 3066.775
> cache size      : 12288 KB
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 11
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm ida arat epb dts
> bogomips        : 6133.55
> clflush size    : 64
> cache_alignment : 64
> address sizes   : 40 bits physical, 48 bits virtual
> power management:
> Tomcat : apache-tomcat-8.0.24
> KIE: kie-drools-wb-distribution-wars-6.2.0.Final-tomcat7.war
> Java: java version "1.7.0_79"
>            Reporter: Eido Reshef
>            Assignee: Michael Anstis
>             Fix For: 6.3.0.Final
>
>         Attachments: CameraObj.JPG, CameraRuleGuided.JPG, CameraRuleGuidedSource.JPG, CameraRuleGuidedSourceError.JPG
>
>
> When trying to use "Expression editor" in the guided rule screen of the web app, combining with restrictions on String fields which use functions like "toLowerCase" , "toUpperCase" - 
> Expression editor leaves a blanc field to fill and if left blanc - KIE automatically fill it with "" - and rule doesn't get compiled.
> So instead of getting for example;
> 1.	|	package ido.droolsrules.dqsrulesqa;
> 2.	|	
> 3.	|	import java.lang.Number;
> 4.	|	
> 5.	|	rule "Test Camera Model"
> 6.	|	    dialect "mvel"
> 7.	|	    when
> 8.	|	        cam1 : Camera( brand.toLowerCase() == "sony" )
> 9.	|	    then
> 10.	|	        cam1.setLens( 5.0 );
> 11.	|	end
> Rule is generated (In source tab) as:
> 1.	|	package ebay.droolsrules.dqsrulesqa;
> 2.	|	
> 3.	|	import java.lang.Number;
> 4.	|	
> 5.	|	rule "Test Camera Model"
> 6.	|	    dialect "mvel"
> 7.	|	    when
> 8.	|	        cam1 : Camera( brand.toLowerCase("") == "sony" )
> 9.	|	    then
> 10.	|	        cam1.setLens( 5.0 );
> 11.	|	end
> view line 8 to spot difference.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list