stable
Clone or download
request #14484: FieldVisitor is incomplete
When Tracker_FormElement_Field_Priority was created, the existing Tracker_FormElement_FieldVisitor had not been updated. Therefore there can be cases where the Priority field can call visitPriority() method on a visitor that does not implement it. This has been kept under the radar because Priority field is a readonly field (no XML import) and is not provided in the TQL expert mode (both cross tracker and tracker report). However if you entered manually the name of the priority field in the TQL interface you could get a fatal error. For example: have a priority field named "rank". Go to TQL and search for "rank > 1". => You should get an error message saying that "rank" is not supported, instead of a fatal error. Change-Id: Icd0a1eebcb95724a26c0a113256efdc5c463266f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/Report/CSV/Format/FormElementToValueVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/SimilarField/FieldUsedInSupportedSemanticsVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArtifactFilesDeletorVisitor.php | +2 | −24 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/ReplaceValueVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_FieldVisitor.class.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/BetweenComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/EqualComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/GreaterThanComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/GreaterThanOrEqualComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/InComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/LesserThanComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/LesserThanOrEqualComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/NotEqualComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/NotInComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/BetweenFieldComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/EqualFieldComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/GreaterThanFieldComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/GreaterThanOrEqualFieldComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/InFieldComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanFieldComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/LesserThanOrEqualFieldComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotEqualFieldComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/NotInFieldComparisonVisitor.php | +6 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/XML/Updater/FieldChangeXMLUpdaterVisitor.class.php | +5 | −0 | Go to diff View file |