Actions
Bug #4100
closedExport code assumes there is a "target" (e.g. EE or JS) but this is not the case when doing an "explain"
Start date:
2019-01-18
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.9
Fix Committed on Branch:
9.9
Fixed in Maintenance Release:
Platforms:
Description
Some code is shared between "export" (which applies to XSLT only, and produces a SEF file), and "explain", which applies to both XSLT and XQuery, and produces diagnostic information. In some cases the export() method assumes that the ExpressionPresenter has a "target" property; but when doing an "explain", this may be null.
Fixed by initializing the target property to "", so target.equals("XX") always return false rather than crashing.
Please register to edit this issue
Actions