Skip to content
Snippets Groups Projects
Commit cadc1027 authored by gnaegi's avatar gnaegi
Browse files

FXOLAT-193 OLAT-6272 make repo table model more robust in case of broken repo entries

--HG--
branch : uzhFixes711
parent 421b815f
No related branches found
No related tags found
No related merge requests found
......@@ -112,6 +112,10 @@ public class RepositoryTableModel extends DefaultTableDataModel implements Table
case RepositoryEntry.ACC_OWNERS_AUTHORS: return translator.translate("table.header.access.author");
case RepositoryEntry.ACC_USERS: return translator.translate("table.header.access.user");
case RepositoryEntry.ACC_USERS_GUESTS: return translator.translate("table.header.access.guest");
default:
// OLAT-6272 in case of broken repo entries with no access code
// return error instead of nothing
return "ERROR";
}
}
case 4: return re.getCreationDate();
......
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