Skip to content

Commit

Permalink
LSNBLDR-635 - NPE not captured in AssignmentEntity when using WS (sak…
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmerino authored and ottenhoff committed May 27, 2016
1 parent e575fb1 commit 1240993
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -752,8 +752,8 @@ public String findObject(String objectid, Map<String,String>objectMap, String si
// i is start of title
String title = objectid.substring(i+1);

Iterator aIter = AssignmentService.getAssignmentsForContext(ToolManager.getCurrentPlacement().getContext());

Iterator aIter = AssignmentService.getAssignmentsForContext(siteid);
// security. assume this is only used in places where it's OK, so skip security checks
while (aIter.hasNext()) {
Assignment a = (Assignment) aIter.next();
Expand Down

0 comments on commit 1240993

Please sign in to comment.