[jboss-jira] [JBoss JIRA] (WFLY-8954) Wildfly 10 with eclipselink Onscucess observer gets stale entity

Nuno Godinho de Matos (JIRA) issues at jboss.org
Sat Jun 24 12:37:00 EDT 2017


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

Nuno Godinho de Matos edited comment on WFLY-8954 at 6/24/17 12:36 PM:
-----------------------------------------------------------------------

Just one further note.
The stack traces above for wildfly were taken using Wildfly 10.0.0.Final.

I am not using 10.1.0.Final for this.
The reason being that using 10.1.0.Final implies  more time investiment in verifying application compatibility with the newest release.
 
So for now, unless some must have features exist on 10.1.0.Final, or unless 10.1.0.Final is pure bug fix release, the intention would ideally be to keep using 10.0.0.Final for a while.

Or would you say that 10.1.0.Final should be just as stable as 10.0.0.Final?
 E.g. additional bugfixes and no breaking changes on previosuly existing APIs?

Kindest regards.


was (Author: nuno.godinhomatos):
The stack traces on wildfly were taken using wildfly 10.0.0.Final.

I am not using 10.1.0.Final, because right now because to be using 10.1.0.Final requires more time investiment in verify application compatibility with the newest released. So for now, unless some must have features exist on 10.1.0.Final, the intention is to keep using 10.0.0.Final for a while.

Or would you say that 10.1.0.Final should be as stable as 10.0.0.Final? E.g. more bugfixes in there and no breaking changes?

Kindest regards.

> Wildfly 10 with eclipselink Onscucess observer gets stale entity
> ----------------------------------------------------------------
>
>                 Key: WFLY-8954
>                 URL: https://issues.jboss.org/browse/WFLY-8954
>             Project: WildFly
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 10.0.0.Final
>            Reporter: Nuno Godinho de Matos
>            Assignee: Scott Marlow
>
> Hi,
> In widlfly there seems to be an important issue concerning CDI events and observing these events during onsuccess. At least while using eclipselink.
> When using wildfly 10.0.0.Final together with eclipselink, if an application modifies an entity A, fires an event stating entity A has been modified, and an observer consumes this event during transaction success.
> Then the observer will be working with stale entities that do not reflect the modifications done to the entity.
> A sample application for this issue is available in:
> https://github.com/99sono/wildfly10-observe-on-success-stale-entity
> The widlfly configuration xml for the sample application, is available in the application itself, as can be seen in the readme documentation.
> Many thanks for taking a look.
> Kindest regards.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list