From 0b660e69d560cd96bb4d37ec605180f193ab4d19 Mon Sep 17 00:00:00 2001 From: Mikhail Golubev Date: Fri, 26 Sep 2014 16:12:18 +0400 Subject: [PATCH] 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. --- .../src/com/intellij/tasks/mantis/MantisRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/mantis/MantisRepository.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/mantis/MantisRepository.java index 70825a9b7266..4404bc5e2385 100644 --- a/plugins/tasks/tasks-core/src/com/intellij/tasks/mantis/MantisRepository.java +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/mantis/MantisRepository.java @@ -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);