Fetch Mantis projects and filters on test connection (workaround for support 38685)

It seems that requesting access levels may cause server side
errors in some rare configuration (PHP 5.4 with nusoap library). Before
problem is reproduced exactly I rollback to previously used approach
when projects and filters are refereshed instead for "Login/Test"
functionality.
This commit is contained in:
Mikhail Golubev
2014-09-26 16:45:32 +04:00
parent 95cfa20cf7
commit 0b660e69d5
@@ -153,7 +153,7 @@ public class MantisRepository extends BaseRepositoryImpl {
protected void doTest() throws Exception {
myProjects = null;
try {
createSoap().mc_enum_access_levels(getUsername(), getPassword());
refreshProjects();
}
catch (Exception e) {
throw handleException(e);