[zanata/zanata-server] 022f5b: fix(version-group): ensure languages, projects and...

GitHub noreply at github.com
Wed Sep 9 00:37:27 UTC 2015


  Branch: refs/heads/project-roles-ui
  Home:   https://github.com/zanata/zanata-server
  Commit: 022f5b55f9936684e91af2617e23724cd51e64c1
      https://github.com/zanata/zanata-server/commit/022f5b55f9936684e91af2617e23724cd51e64c1
  Author: David Mason <drdmason at gmail.com>
  Date:   2015-09-09 (Wed, 09 Sep 2015)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/action/VersionGroupHome.java

  Log Message:
  -----------
  fix(version-group): ensure languages, projects and maintainers can be added properly

The override of create() was calling getInstance() before a slug was available, so creating
an empty instance that caused failures later.
The maintainer autocomplete was not using service locator to look up a fresh copy of
versionGroupHome, so this was added to prevent a NullPointerException.




More information about the zanata-commits mailing list