-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Invalid
-
Affects Version/s: 5.2.4
-
Fix Version/s: None
-
Component/s: documentation, tapestry-core
-
Labels:None
In Tapestry 5.1.0.5, you can have code such as:
@Component
private Form inputs;
...
if (inputs.getDefaultTracker().getHasErrors())
...
This fails in 5.2.4 because getDefaultTracker() returns null if there are no errors. This appears to be related to this closed bug:
https://issues.apache.org/jira/browse/TAP5-979
Perhaps getDefaultTracker() should check for a null and return an empty one to be backwards compatible with 5.1.0.5? Alternatively, document it as a known incompatibility in the release notes.