Merge pull request #5491 from raman-bt/5871-classcastexception

5871: Class cast exception.
This commit is contained in:
Richard Cordovano 2019-12-11 15:44:28 -05:00 committed by GitHub
commit 6ad0283d30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,12 +136,13 @@ public class DataResultFilterNode extends FilterNode {
public Action[] getActions(boolean popup) {
List<Action> actions = new ArrayList<>();
if (this.getOriginal() instanceof DisplayableItemNode) {
final DisplayableItemNode originalNode = (DisplayableItemNode) this.getOriginal();
List<Action> accept = originalNode.accept(getActionsDIV);
if (accept != null) {
actions.addAll(accept);
}
}
//actions.add(new IndexContentFilesAction(nodeContent, "Index"));
return actions.toArray(new Action[actions.size()]);