Skip to content
Snippets Groups Projects

Draft: F acm permissions2

Closed Timm Fitschen requested to merge f-acm-permissions2 into dev
1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
@@ -40,7 +40,6 @@ import org.caosdb.server.entity.WritableEntity;
import org.caosdb.server.entity.wrapper.Property;
import org.caosdb.server.jobs.JobAnnotation;
import org.caosdb.server.jobs.JobExecutionTime;
import org.caosdb.server.transaction.Delete;
import org.caosdb.server.transaction.WriteTransaction;
import org.caosdb.server.utils.EntityStatus;
import org.caosdb.server.utils.Observable;
@@ -68,7 +67,7 @@ public class InitEntityStateJobs extends EntityStateJob implements Observer {
State newState = handleNewState();
State oldState = handleOldState(newState);
if (newState != null || oldState != null) {
if (!(getTransaction() instanceof Delete)) {
if (!(getEntity() instanceof DeleteEntity)) {
appendJob(MakeStateProperty.class);
}
Loading