James Moger
2013-01-05 56d91368c3af957681951d3e34de54f025448d72
Fixed NPE on create repo with mixed case (issue-185)
2 files modified
5 ■■■■■ changed files
docs/04_releases.mkd 1 ●●●● patch | view | raw | blame | history
src/com/gitblit/GitBlit.java 4 ●●●● patch | view | raw | blame | history
docs/04_releases.mkd
@@ -6,6 +6,7 @@
#### fixes
- Fixed nullpointer on creating a repository with mixed case (issue 185)
- Fixed nullpointer when using web.allowForking = true && git.cacheRepositoryList = false (issue 182)
- Build project models from the repository model cache, when possible, to reduce page load time (issue 172)
- Fixed loading of Brazilian Portuguese translation from *nix server (github/inaiat)
src/com/gitblit/GitBlit.java
@@ -1371,8 +1371,8 @@
        if (config.isOutdated()) {
            // reload model
            logger.info(MessageFormat.format("Config for \"{0}\" has changed. Reloading model and updating cache.", repositoryName));
            model = loadRepositoryModel(repositoryName);
            removeFromCachedRepositoryList(repositoryName);
            model = loadRepositoryModel(model.name);
            removeFromCachedRepositoryList(model.name);
            addToCachedRepositoryList(model);
        } else {
            // update a few repository parameters