mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-09 12:31:00 +00:00
fixed check for existing Igtimi account
Change-Id: I9fe5fc8d40db27a2b71de5664b5f65233b3a11e9
This commit is contained in:
1 parent
e0e68240ac
commit
0411089abc
2 files changed
+1
-3
No files matched your search
+1
-1
@@ -5757,7 +5757,7 @@ public class SailingServiceImpl extends ProxiedRemoteServiceServlet implements S
|
||||
public boolean authorizeAccessToIgtimiUser(String eMailAddress, String password) throws Exception {
|
||||
final Account existingAccount = getIgtimiConnectionFactory().getExistingAccountByEmail(eMailAddress);
|
||||
final Account account;
|
||||
if (existingAccount != null) {
|
||||
if (existingAccount == null) {
|
||||
final QualifiedObjectIdentifier igtimiAccountId = SecuredDomainType.IGTIMI_ACCOUNT.getQualifiedObjectIdentifier(eMailAddress);
|
||||
getSecurityService().setOwnership(getSecurityService().createDefaultOwnershipForNewObject(igtimiAccountId));
|
||||
try {
|
||||
|
||||
-2
@@ -25,9 +25,7 @@ public class WindPanelPO extends PageArea {
|
||||
|
||||
public void importWindFromIgtimi(int timeoutInSeconds) throws InterruptedException {
|
||||
importWindFromIgtimi.click();
|
||||
|
||||
waitForAlertAndAccept(10);
|
||||
|
||||
FluentWait<String> wait = createFluentWait("The following number of fixes were imported for the listed races:", timeoutInSeconds, DEFAULT_POLLING_INTERVAL);
|
||||
wait.until(new Function<String, Object>() {
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user