Skip to content
Snippets Groups Projects
Commit 4e3cbaeb authored by srosse's avatar srosse
Browse files

OO-1242: row can be null in the list of objects if someone jump a page

parent 63b9ac5d
No related branches found
No related tags found
No related merge requests found
...@@ -355,7 +355,7 @@ public class RepositoryEntryListController extends FormBasicController ...@@ -355,7 +355,7 @@ public class RepositoryEntryListController extends FormBasicController
Long rowKey = new Long(rowKeyStr); Long rowKey = new Long(rowKeyStr);
List<RepositoryEntryRow> rows = model.getObjects(); List<RepositoryEntryRow> rows = model.getObjects();
for(RepositoryEntryRow row:rows) { for(RepositoryEntryRow row:rows) {
if(row.getKey().equals(rowKey)) { if(row != null && row.getKey().equals(rowKey)) {
if (row.isMember()) { if (row.isMember()) {
doOpen(ureq, row); doOpen(ureq, row);
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment