Skip to content

Commit

Permalink
add mandatory fields to workaround server issue
Browse files Browse the repository at this point in the history
  • Loading branch information
janotav committed Mar 26, 2014
1 parent fc1f58c commit 469ff3e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ public EntityQuery preProcess(EntityQuery query) {
} else if("changeset".equals(query.getEntityType())) {
// needed for ShowAffectedPathsAction
clone.addColumn("rev", 1);
} else if("changeset-file".equals(query.getEntityType())) {
// workaround for ALM server issue: query fails unless following fields are present
clone.addColumn("path", 1);
clone.addColumn("revision", 1);
clone.addColumn("operation", 1);
clone.addColumn("file-type", 1);
}
}

Expand Down

0 comments on commit 469ff3e

Please sign in to comment.