[jboss-jira] [JBoss JIRA] (DROOLS-4962) [GSS](7.z) A Spreadsheet decision tables does not convert to a DRL file correctly when a Function is being used in the RuleTable constraints
Toni Rikkola (Jira)
issues at jboss.org
Wed Jan 22 05:11:38 EST 2020
[ https://issues.redhat.com/browse/DROOLS-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Toni Rikkola updated DROOLS-4962:
---------------------------------
Tester: Jozef Marko
Labels: drools-tools (was: )
> [GSS](7.z) A Spreadsheet decision tables does not convert to a DRL file correctly when a Function is being used in the RuleTable constraints
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-4962
> URL: https://issues.redhat.com/browse/DROOLS-4962
> Project: Drools
> Issue Type: Bug
> Components: XLS Decision Table Editor
> Reporter: Toni Rikkola
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools
>
> 1. Create a "test_functions" project in the "MySpace" space.
> 2. Create a "Person" Data Object
> {code:java}
> package com.myspace.test_functions;
> /**
> * This class was automatically generated by the data modeler tool.
> */
> public class Person implements java.io.Serializable {
> static final long serialVersionUID = 1L;
> @org.kie.api.definition.type.Label("Gender")
> private java.lang.String gender;
> @org.kie.api.definition.type.Label("Is Married")
> private java.lang.Boolean married;
> @org.kie.api.definition.type.Label("Name")
> private java.lang.String name;
> @org.kie.api.definition.type.Label(value = "Message")
> private java.lang.String message;
> public Person() {
> }
> public void setHelloMsg(String arg) {
> this.message = arg;
> }
> public java.lang.String getGender() {
> return this.gender;
> }
> public void setGender(java.lang.String gender) {
> this.gender = gender;
> }
> public java.lang.Boolean getMarried() {
> return this.married;
> }
> public void setMarried(java.lang.Boolean married) {
> this.married = married;
> }
> public java.lang.String getName() {
> return this.name;
> }
> public void setName(java.lang.String name) {
> this.name = name;
> }
> public java.lang.String getMessage() {
> return this.message;
> }
> public void setMessage(java.lang.String message) {
> this.message = message;
> }
> public Person(java.lang.String gender, java.lang.Boolean married,
> java.lang.String name, java.lang.String message) {
> this.gender = gender;
> this.married = married;
> this.name = name;
> this.message = message;
> }
> }
> {code}
> 3. Import the "test_functions.xlsx"
> 4. Convert the "test_functions.xlsx"
> 5. Check the result files
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list