-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 5.4
-
Fix Version/s: 5.5.0
-
Component/s: tapestry-core
-
Labels:
Stets to reproduce:
Class with
public class TestDefaultMethod { @Property private TestData testData = new TestData(); public static interface TestInterface { public default String getTestString() { return "Alpha"; } } public static class TestData implements TestInterface { } }
Template with
${testData.testString}
Expected:
"Alpha" is put in the website
Actual:
Exception type: org.apache.tapestry5.ioc.util.UnknownValueException
Message: Class com.example.pages.TestDefaultMethod$TestData does not contain a property (or public field) named 'testString'.
availableValues: AvailableValues[Properties (and public fields): class]
It works with
${testData.getTestString()}
- is related to
-
TAP5-2032 GenericsUtils does not handle generics properly when extracting the actual type
-
- In Progress
-