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());
|
||||
}
|
||||
ctx.setAndResolveQuery(cmd.getQuery());
|
||||
TenantId tenantId = ctx.getTenantId();
|
||||
CustomerId customerId = ctx.getCustomerId();
|
||||
EntityDataQuery query = ctx.getQuery();
|
||||
//Step 1. Update existing query with the contents of LatestValueCmd
|
||||
if (cmd.getLatestCmd() != null) {
|
||||
|
||||
@ -74,7 +74,7 @@ public abstract class TbAbstractDataSubCtx<T extends AbstractDataQuery<? extends
|
||||
|
||||
@Override
|
||||
public boolean isDynamic() {
|
||||
return query.getPageLink().isDynamic();
|
||||
return query != null && query.getPageLink().isDynamic();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user