Re: [rules-users] Using variables as map keys in MVEL in LHS

2009-07-16 Thread Steve Ronderos
Thanks Edson, worked like a charm! Steve Ronderos rules-users-boun...@lists.jboss.org wrote on 07/16/2009 09:09:31 AM: > [image removed] > > Re: [rules-users] Using variables as map keys in MVEL in LHS > > Edson Tirelli > > to: > > Rules Users List > >

Re: [rules-users] Using variables as map keys in MVEL in LHS

2009-07-16 Thread Edson Tirelli
This was a bug in one of the MVEL versions that is fixed. Can you update your MVEL jar to one of the latest releases? I think it is 2.0.12. []s Edson 2009/7/16 Steve Ronderos > > Hello, > > Again, I'm working on converting my project that used Drools 4.0.7 to > 5.0.1. > > I've run acro

[rules-users] Using variables as map keys in MVEL in LHS

2009-07-16 Thread Steve Ronderos
Hello, Again, I'm working on converting my project that used Drools 4.0.7 to 5.0.1. I've run across a problem with a rule that accesses a map in the LHS using a variable as the key. When MVEL tries to resolve this, it appears that it is not evaluating the variable before accessing the map. I