Преглед на файлове

Fixed NPE with web.allowForking && !git.cacheRepositoryList (issue-182)

tags/v1.2.1
James Moger преди 11 години
родител
ревизия
46bdf9829d
променени са 2 файла, в които са добавени 13 реда и са изтрити 7 реда
  1. 12
    6
      docs/04_releases.mkd
  2. 1
    1
      src/com/gitblit/GitBlit.java

+ 12
- 6
docs/04_releases.mkd Целия файл

@@ -1,14 +1,22 @@
## Release History
### Current Release
**%VERSION%** ([go](http://code.google.com/p/gitblit/downloads/detail?name=%GO%) | [war](http://code.google.com/p/gitblit/downloads/detail?name=%WAR%) | [express](http://code.google.com/p/gitblit/downloads/detail?name=%EXPRESS%) | [fedclient](http://code.google.com/p/gitblit/downloads/detail?name=%FEDCLIENT%) | [manager](http://code.google.com/p/gitblit/downloads/detail?name=%MANAGER%) | [api](http://code.google.com/p/gitblit/downloads/detail?name=%API%)) based on [%JGIT%][jgit]   *released %BUILDDATE%*
#### fixes
- Fixed nullpointer when using web.allowForking = true && git.cacheRepositoryList = false (issue 182)
### Older Releases
<div class="alert alert-info">
<h4>Update Note</h4>
The permissions model has changed in this release.
The permissions model has changed in the 1.2.0 release.
<p>If you are updating your server, you must also update any Gitblit Manager and Federation Client installs to 1.2.0 as well. The data model used by the RPC mechanism has changed slightly for the new permissions infrastructure.</p>
</div>
### Current Release
**%VERSION%** ([go](http://code.google.com/p/gitblit/downloads/detail?name=%GO%) | [war](http://code.google.com/p/gitblit/downloads/detail?name=%WAR%) | [express](http://code.google.com/p/gitblit/downloads/detail?name=%EXPRESS%) | [fedclient](http://code.google.com/p/gitblit/downloads/detail?name=%FEDCLIENT%) | [manager](http://code.google.com/p/gitblit/downloads/detail?name=%MANAGER%) | [api](http://code.google.com/p/gitblit/downloads/detail?name=%API%)) based on [%JGIT%][jgit] &nbsp; *released %BUILDDATE%*
**1.2.0** *released 2012-12-31*
#### fixes
@@ -107,8 +115,6 @@ If *realm.ldap.maintainTeams==true* **AND** *realm.ldap.admins* is not empty, th
- added XZ for Java 1.0
<hr/>
### Older Releases
<div class="alert alert-error">
<h4>Update Note</h4>
If you are updating from an earlier release AND you have indexed branches with the Lucene indexing feature, you need to be aware that this release will completely re-index your repositories. Please be sure to provide ample heap resources as appropriate for your installation.

+ 1
- 1
src/com/gitblit/GitBlit.java Целия файл

@@ -1739,7 +1739,7 @@ public class GitBlit implements ServletContextListener {
ProjectModel project = getProjectModel(userProject);
for (String repository : project.repositories) {
if (repository.startsWith(userProject)) {
RepositoryModel model = repositoryListCache.get(repository);
RepositoryModel model = getRepositoryModel(repository);
if (model.originRepository.equalsIgnoreCase(origin)) {
// user has a fork
return model.name;

Loading…
Отказ
Запис