Well I just tried again, but now I am unable to reproduce the error.
Must have been a momentary glitch in the matrix.
I will try a few more times to reproduce it.
On Tue, Mar 19, 2013 at 10:10 PM, manstis [via Drools] <
ml-node+s46999n4022901h50(a)n3.nabble.com> wrote:
Hello,
I tried with the latest 5.5.x branch code and could not replicate the
issue you both report.
These are the steps I followed:-
1) Create a new Rule Template
2) Add a Fact Type
3) Add a Field constraint, with the value defined as a Template Key.
4) Change Template Key name
5) Click OK
6) Click "Load Template data"
7) Add a row
8) Enter a value
9) Click OK
10) View source
Everything worked as I'd expect it to.
Can you please advise if the steps you are using are different.
Can you please try with the 5.5.x latest code?
With kind regards,
Mike
On 14 March 2013 16:17, kurrent93 <[hidden
email]<http://user/SendEmail.jtp?type=node&node=4022901&i=0>
> wrote:
> Hi
>
> I'm tryiing to create a template in Guvnor.
>
> When I try to add a template key, guvnor appends _na to the variable name.
> And also says there are validation errors.
>
> Is this something I am doing wrong?
>
> the template looks like this:
> 1. | rule "TestTemplate_0"
> 2. | dialect "mvel"
> 3. | when
> 4. | Account( accountBalance > account_balance_na )
> 5. | then
> 6. | insertLogical( new TradeOrder() );
> 7. | end
>
> Thanks
> Anton
>
>
>
> --
> View this message in context:
>
http://drools.46999.n3.nabble.com/validation-error-on-Template-tp4022828....
>
> Sent from the Drools: User forum mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
> [hidden email] <
http://user/SendEmail.jtp?type=node&node=4022901&i=1>
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[hidden email] <
http://user/SendEmail.jtp?type=node&node=4022901&i=2>
https://lists.jboss.org/mailman/listinfo/rules-users
------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://drools.46999.n3.nabble.com/validation-error-on-Template-tp4022828p...
To unsubscribe from validation error on Template, click
here<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...
.
NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...
--
View this message in context:
http://drools.46999.n3.nabble.com/validation-error-on-Template-tp4022828p...
Sent from the Drools: User forum mailing list archive at
Nabble.com.