Procházet zdrojové kódy

Fix NPE when viewing a federation proposal (issue 195)

tags/v1.3.0
James Moger před 11 roky
rodič
revize
d9d4677aa4

+ 1
- 0
releases.moxie Zobrazit soubor

- Use bash instead of sh in Linux/OSX shell scripts (issue 154) - Use bash instead of sh in Linux/OSX shell scripts (issue 154)
- Fix NPE when getting user's fork without repository list caching (issue 182) - Fix NPE when getting user's fork without repository list caching (issue 182)
- Fix internal error on folder history links (issue 192) - Fix internal error on folder history links (issue 192)
- Fix NPE in repositories panel when viewing a federation proposal (issue 195)
- Fix NPEs when initializing the context on a servlet containers which returns a null contextFolder (issue 199) - Fix NPEs when initializing the context on a servlet containers which returns a null contextFolder (issue 199)
- Fixed incorrect icon file name for .doc files (issue 200) - Fixed incorrect icon file name for .doc files (issue 200)
- Do not queue emails with no recipients (issue 201) - Do not queue emails with no recipients (issue 201)

+ 1
- 1
src/main/java/com/gitblit/wicket/panels/RepositoriesPanel.java Zobrazit soubor

for (String root : roots) { for (String root : roots) {
List<RepositoryModel> subModels = groups.get(root); List<RepositoryModel> subModels = groups.get(root);
ProjectModel project = GitBlit.self().getProjectModel(root); ProjectModel project = GitBlit.self().getProjectModel(root);
GroupRepositoryModel group = new GroupRepositoryModel(project.name, subModels.size());
GroupRepositoryModel group = new GroupRepositoryModel(project == null ? root : project.name, subModels.size());
if (project != null) { if (project != null) {
group.title = project.title; group.title = project.title;
group.description = project.description; group.description = project.description;

Načítá se…
Zrušit
Uložit