Minor fixes
This commit is contained in:
parent
ff17387767
commit
e2e12d5871
@ -178,8 +178,6 @@ public class DefaultTbEntityDataSubscriptionService implements TbEntityDataSubsc
|
|||||||
log.debug("[{}][{}] Updating data using query: {}", session.getSessionId(), cmd.getCmdId(), cmd.getQuery());
|
log.debug("[{}][{}] Updating data using query: {}", session.getSessionId(), cmd.getCmdId(), cmd.getQuery());
|
||||||
}
|
}
|
||||||
ctx.setAndResolveQuery(cmd.getQuery());
|
ctx.setAndResolveQuery(cmd.getQuery());
|
||||||
TenantId tenantId = ctx.getTenantId();
|
|
||||||
CustomerId customerId = ctx.getCustomerId();
|
|
||||||
EntityDataQuery query = ctx.getQuery();
|
EntityDataQuery query = ctx.getQuery();
|
||||||
//Step 1. Update existing query with the contents of LatestValueCmd
|
//Step 1. Update existing query with the contents of LatestValueCmd
|
||||||
if (cmd.getLatestCmd() != null) {
|
if (cmd.getLatestCmd() != null) {
|
||||||
|
|||||||
@ -74,7 +74,7 @@ public abstract class TbAbstractDataSubCtx<T extends AbstractDataQuery<? extends
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isDynamic() {
|
public boolean isDynamic() {
|
||||||
return query.getPageLink().isDynamic();
|
return query != null && query.getPageLink().isDynamic();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user