You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2020/04/28 15:50:10 UTC

[unomi] branch UNOMI-330-events-not-persisted created (now e6c884a)

This is an automated email from the ASF dual-hosted git repository.

shuber pushed a change to branch UNOMI-330-events-not-persisted
in repository https://gitbox.apache.org/repos/asf/unomi.git.


      at e6c884a  UNOMI-330 Events non-persistant by default Fixed by making them persistent by default.

This branch includes the following new commits:

     new e6c884a  UNOMI-330 Events non-persistant by default Fixed by making them persistent by default.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[unomi] 01/01: UNOMI-330 Events non-persistant by default Fixed by making them persistent by default.

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shuber pushed a commit to branch UNOMI-330-events-not-persisted
in repository https://gitbox.apache.org/repos/asf/unomi.git

commit e6c884ade10349f3306bc47fdc0bce597d76444b
Author: Serge Huber <sh...@apache.org>
AuthorDate: Tue Apr 28 17:50:04 2020 +0200

    UNOMI-330 Events non-persistant by default
    Fixed by making them persistent by default.
---
 api/src/main/java/org/apache/unomi/api/Event.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/src/main/java/org/apache/unomi/api/Event.java b/api/src/main/java/org/apache/unomi/api/Event.java
index 99eb51d..e7ff5a6 100644
--- a/api/src/main/java/org/apache/unomi/api/Event.java
+++ b/api/src/main/java/org/apache/unomi/api/Event.java
@@ -100,7 +100,7 @@ public class Event extends Item implements TimestampedItem {
      * @param timestamp the timestamp associated with the event if provided
      */
     public Event(String eventType, Session session, Profile profile, String scope, Item source, Item target, Date timestamp) {
-        this(eventType, session, profile, scope, source, target, null, timestamp, false);
+        this(eventType, session, profile, scope, source, target, null, timestamp, true);
     }
 
     /**