summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
782843a)
gitlab #84
Change-Id: I7d736e78928bc203bfb05e72af31e16d204bdc32
}
protected void checkIfRootAllowsPaste(ReadGraph graph) throws DatabaseException {
}
protected void checkIfRootAllowsPaste(ReadGraph graph) throws DatabaseException {
+ if (resource == null)
+ return;
Layer0 L0 = Layer0.getInstance(graph);
// check if root is published
Boolean published = graph.getPossibleRelatedValue(resource, L0.Entity_published);
Layer0 L0 = Layer0.getInstance(graph);
// check if root is published
Boolean published = graph.getPossibleRelatedValue(resource, L0.Entity_published);