[JBoss JIRA] (DROOLS-5124) SceSim editor is not recognizing "default" session in kmodule
by Daniele Zonca (Jira)
[ https://issues.redhat.com/browse/DROOLS-5124?page=com.atlassian.jira.plug... ]
Daniele Zonca reassigned DROOLS-5124:
-------------------------------------
Assignee: Yeser Amer (was: Toni Rikkola)
> SceSim editor is not recognizing "default" session in kmodule
> -------------------------------------------------------------
>
> Key: DROOLS-5124
> URL: https://issues.redhat.com/browse/DROOLS-5124
> Project: Drools
> Issue Type: Bug
> Components: Scenario Simulation and Testing
> Reporter: Matteo Mortari
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot 2020-03-03 at 15.49.48.png, Screenshot 2020-03-03 at 15.51.52.png
>
>
> steps to reproduce.
> Similaely to sanity check procedure "Test native (DRL) decision services".
> Requires defining in kmodule of the BC Project a default kiebase/kiesession to use it later in the step to invoke on Kie Server.
> So one would normally create something like this in the Project kmodule
> !Screenshot 2020-03-03 at 15.49.48.png|thumbnail!
> But later the scesim editor is not picking up the default:
> !Screenshot 2020-03-03 at 15.51.52.png|thumbnail!
> so it would fail with the error for non-exiting null kie session:
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (DROOLS-5124) SceSim editor is not recognizing "default" session in kmodule
by Daniele Zonca (Jira)
[ https://issues.redhat.com/browse/DROOLS-5124?page=com.atlassian.jira.plug... ]
Daniele Zonca updated DROOLS-5124:
----------------------------------
Labels: drools-tools (was: )
> SceSim editor is not recognizing "default" session in kmodule
> -------------------------------------------------------------
>
> Key: DROOLS-5124
> URL: https://issues.redhat.com/browse/DROOLS-5124
> Project: Drools
> Issue Type: Bug
> Components: Scenario Simulation and Testing
> Reporter: Matteo Mortari
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot 2020-03-03 at 15.49.48.png, Screenshot 2020-03-03 at 15.51.52.png
>
>
> steps to reproduce.
> Similaely to sanity check procedure "Test native (DRL) decision services".
> Requires defining in kmodule of the BC Project a default kiebase/kiesession to use it later in the step to invoke on Kie Server.
> So one would normally create something like this in the Project kmodule
> !Screenshot 2020-03-03 at 15.49.48.png|thumbnail!
> But later the scesim editor is not picking up the default:
> !Screenshot 2020-03-03 at 15.51.52.png|thumbnail!
> so it would fail with the error for non-exiting null kie session:
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (DROOLS-5124) SceSim editor is not recognizing "default" session in kmodule
by Daniele Zonca (Jira)
[ https://issues.redhat.com/browse/DROOLS-5124?page=com.atlassian.jira.plug... ]
Daniele Zonca updated DROOLS-5124:
----------------------------------
Component/s: Scenario Simulation and Testing
(was: Test Scenarios Editor)
> SceSim editor is not recognizing "default" session in kmodule
> -------------------------------------------------------------
>
> Key: DROOLS-5124
> URL: https://issues.redhat.com/browse/DROOLS-5124
> Project: Drools
> Issue Type: Bug
> Components: Scenario Simulation and Testing
> Reporter: Matteo Mortari
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot 2020-03-03 at 15.49.48.png, Screenshot 2020-03-03 at 15.51.52.png
>
>
> steps to reproduce.
> Similaely to sanity check procedure "Test native (DRL) decision services".
> Requires defining in kmodule of the BC Project a default kiebase/kiesession to use it later in the step to invoke on Kie Server.
> So one would normally create something like this in the Project kmodule
> !Screenshot 2020-03-03 at 15.49.48.png|thumbnail!
> But later the scesim editor is not picking up the default:
> !Screenshot 2020-03-03 at 15.51.52.png|thumbnail!
> so it would fail with the error for non-exiting null kie session:
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (WFLY-13186) Multiple @PostLoad in @MappedSuperclass
by Stefan Lindner (Jira)
Stefan Lindner created WFLY-13186:
-------------------------------------
Summary: Multiple @PostLoad in @MappedSuperclass
Key: WFLY-13186
URL: https://issues.redhat.com/browse/WFLY-13186
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 18.0.1.Final
Reporter: Stefan Lindner
Assignee: Cheng Fang
Using {{@PostLoad}} in a {{@MappedSuperclass}} does not work it the annotated method has the same name as in {{@Entity}} class.
I did not find any hints in the specs about the behavior in this case. Is it allowed?
h3. This does not work
{code:title=SuperClass.java|borderStyle=solid}
@MappedSuperclass
public abstract Superclass {
@PostLoad
public void postLoad() {
System.out.println("Superclass.postLoad");
}
}
{code}
{code:title=EntityClass.java|borderStyle=solid}
@Entity
public class EntityClass extends SuperClass {
@PostLoad
public void postLoad() {
System.out.println("Superclass.postLoad");
}
}
{code}
h3. This works
{code:title=SuperClass.java|borderStyle=solid}
@MappedSuperclass
public abstract Superclass {
@PostLoad
public void otherPostLoad() {
System.out.println("Superclass.postLoad");
}
}
{code}
{code:title=EntityClass.java|borderStyle=solid}
@Entity
public class EntityClass extends SuperClass {
@PostLoad
public void postLoad() {
System.out.println("Superclass.postLoad");
}
}
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (DROOLS-5124) SceSim editor is not recognizing "default" session in kmodule
by Matteo Mortari (Jira)
Matteo Mortari created DROOLS-5124:
--------------------------------------
Summary: SceSim editor is not recognizing "default" session in kmodule
Key: DROOLS-5124
URL: https://issues.redhat.com/browse/DROOLS-5124
Project: Drools
Issue Type: Bug
Components: Test Scenarios Editor
Reporter: Matteo Mortari
Assignee: Toni Rikkola
Attachments: Screenshot 2020-03-03 at 15.49.48.png, Screenshot 2020-03-03 at 15.51.52.png
steps to reproduce.
Similaely to sanity check procedure "Test native (DRL) decision services".
Requires defining in kmodule of the BC Project a default kiebase/kiesession to use it later in the step to invoke on Kie Server.
So one would normally create something like this in the Project kmodule
!Screenshot 2020-03-03 at 15.49.48.png|thumbnail!
But later the scesim editor is not picking up the default:
!Screenshot 2020-03-03 at 15.51.52.png|thumbnail!
so it would fail with the error for non-exiting null kie session:
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months