Commit cf672ba9 authored by Jörg Richter's avatar Jörg Richter
Browse files

Adapt update handler

See dmx-platform/dmx-platform#60
parent c65e60ad
Pipeline #12471 passed with stages
in 48 seconds
......@@ -10,6 +10,7 @@ import systems.dmx.core.model.ChildTopicsModel;
import systems.dmx.core.model.TopicModel;
import systems.dmx.core.model.topicmaps.ViewProps;
import systems.dmx.core.osgi.PluginActivator;
import systems.dmx.core.service.ChangeReport;
import systems.dmx.core.service.Cookies;
import systems.dmx.core.service.Inject;
import systems.dmx.core.service.Transactional;
......@@ -234,7 +235,7 @@ public class GeomapsPlugin extends PluginActivator implements GeomapsService, Ge
public void postUpdateTopic(Topic topic, TopicModel updateModel, TopicModel oldTopic) {
public void postUpdateTopic(Topic topic, ChangeReport report, TopicModel updateModel) {
if (topic.getTypeUri().equals(ADDRESS)) {
// Note: Address is a value type. An address is immutable ### TODO
throw new RuntimeException("postUpdateTopic() invoked for an Address topic: " + topic);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment