Temporarily disable recognition of standard Map layer.
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 7 Apr 2022 09:31:31 +0000 (11:31 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 7 Apr 2022 09:31:31 +0000 (11:31 +0200)
org.argeo.app.ui/config/mapLayer.properties
org.argeo.app.ui/src/org/argeo/app/ui/SuiteApp.java

index 37bf3c73bf677ef9c88a9f5ce187d70b622a8a0a..b03787d28bc0670a8c6e667cf8c23de000f89601 100644 (file)
@@ -3,4 +3,4 @@ service.pid=argeo.geo.ui.mapLayer
 title=%map
 icon=map
 
-entity.type=entity:geopoint
+#entity.type=entity:geopoint
index e4d40cfa8f77c32a0a8e6f4372c679d368bb870e..4c4f1bb968b1bf8e012575216256c1bbb147d8e9 100644 (file)
@@ -321,6 +321,7 @@ public class SuiteApp extends AbstractCmsApp implements EventHandler {
                        if (types.size() == 0)
                                throw new IllegalArgumentException("No type found for " + context + " (" + listTypes(context) + ")");
                        String type = types.iterator().next();
+                       // FIXME deals with multiple types
                        if (!byType.containsKey(type))
                                throw new IllegalArgumentException("No component found for " + context + " with type " + type);
                        return byType.get(type).get();