Author: michiel
Date: 2009-05-17 11:34:59 +0200 (Sun, 17 May 2009)
New Revision: 35205
Modified:
mmbase/trunk/src/org/mmbase/datatypes/BasicDataType.java
Log:
Fix for MMB-1821
Modified: mmbase/trunk/src/org/mmbase/datatypes/BasicDataType.java
===================================================================
--- mmbase/trunk/src/org/mmbase/datatypes/BasicDataType.java 2009-05-17
09:33:55 UTC (rev 35204)
+++ mmbase/trunk/src/org/mmbase/datatypes/BasicDataType.java 2009-05-17
09:34:59 UTC (rev 35205)
@@ -1359,14 +1359,7 @@
public Collection<Map.Entry<C, String>> getEnumeration(Locale locale,
Cloud cloud, Node node, Field field) {
if (value == null) return Collections.emptyList();
- if (cloud == null) {
- if (node != null) {
- cloud = node.getCloud();
- } else if (field != null) {
- cloud = field.getNodeManager().getCloud();
- }
- }
- return value.get(locale, cloud);
+ return value.get(locale, cloud, node, field);
}
/**
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs