Permalink
Browse files

GEOT-4460: Using functions in linkElement causes WMS error

  • Loading branch information...
1 parent e911f30 commit 98fc74a0f363c278c01ad659efc6208954545b48 @riniangreani riniangreani committed May 3, 2013
View
7 ...on/app-schema/app-schema/src/main/java/org/geotools/data/complex/AppSchemaDataAccess.java
@@ -479,6 +479,13 @@ protected static boolean matchProperty(String requestedProperty, StepList target
FilterAttributeExtractor extractor = new FilterAttributeExtractor();
sourceExpression.accept(extractor, null);
idExpression.accept(extractor, null);
+
+ // RA - include function parameters in linkField
+ if (entry instanceof NestedAttributeMapping) {
+ final Expression linkFieldExpression = ((NestedAttributeMapping) entry).nestedFeatureType;
+ linkFieldExpression.accept(extractor, null);
+ }
+
Iterator<Expression> it = clientProperties.iterator();
while (it.hasNext()) {
it.next().accept(extractor, null);

0 comments on commit 98fc74a

Please sign in to comment.