You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by js...@apache.org on 2023/03/10 10:17:09 UTC
[unomi] branch UNOMI-700-reduce-refresh-uses updated (5196a984e -> d5e328a70)
This is an automated email from the ASF dual-hosted git repository.
jsinovassinnaik pushed a change to branch UNOMI-700-reduce-refresh-uses
in repository https://gitbox.apache.org/repos/asf/unomi.git
discard 5196a984e feedback
new d5e328a70 feedback
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (5196a984e)
\
N -- N -- N refs/heads/UNOMI-700-reduce-refresh-uses (d5e328a70)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
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.
Summary of changes:
[unomi] 01/01: feedback
Posted by js...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jsinovassinnaik pushed a commit to branch UNOMI-700-reduce-refresh-uses
in repository https://gitbox.apache.org/repos/asf/unomi.git
commit d5e328a70736771680aef9066c4f59712d0e5940
Author: jsinovassin <js...@jahia.com>
AuthorDate: Thu Mar 9 19:18:41 2023 +0100
feedback
---
.../java/org/apache/unomi/services/impl/goals/GoalsServiceImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/services/src/main/java/org/apache/unomi/services/impl/goals/GoalsServiceImpl.java b/services/src/main/java/org/apache/unomi/services/impl/goals/GoalsServiceImpl.java
index f2091bf76..a5d92232e 100644
--- a/services/src/main/java/org/apache/unomi/services/impl/goals/GoalsServiceImpl.java
+++ b/services/src/main/java/org/apache/unomi/services/impl/goals/GoalsServiceImpl.java
@@ -540,7 +540,7 @@ public class GoalsServiceImpl implements GoalsService, SynchronousBundleListener
@Override
public PartialList<CampaignEvent> getEvents(Query query) {
if(query.isForceRefresh()){
- persistenceService.refreshIndex(Campaign.class);
+ persistenceService.refreshIndex(CampaignEvent.class);
}
definitionsService.resolveConditionType(query.getCondition());
return persistenceService.query(query.getCondition(), query.getSortby(), CampaignEvent.class, query.getOffset(), query.getLimit());