Hi all,
I use the last versione of cuba platform framework 7.2.10 and I have a problem with entity log when en entity is listed in fts.xml file. In other words if I put the entity in fts.xml file and I update a record of this entity the system doesn’t register the change in entity log. If I remove the same entity from the fts.xml file the system registers the change in entity log.
I debuged and the problem is in EntityLog.java. at line 112, source code above:
@Override
public void flush(String storeName) {
EntityManagerContext context = persistence.getEntityManagerContext(storeName);
List<EntityLogItem> items = context.getAttribute(EntityLog.class.getName());
if (items == null || items.isEmpty())
return;
Set<EntityLogItem> saved = new LinkedHashSet<>();
the line 112 is List items = context.getAttribute(EntityLog.class.getName()); when fts is on the result in null, when fts is off the result is one Item.
do someone have this problem? How can I solve it?
Thanks to all for support