Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Short Term
-
Component/s: None
-
Labels:None
Description
The validateConnection() method fetches a list of accounts from the API. The response for an installation with no accounts is:
stdClass Object ( [type] => success [response] => stdClass Object ( [data] => Array ( ) [message] => 0 account(s) ) )
But this means that the return from the method is an empty array() which evaluates to boolean false. The validation fails even though the connect is valid.
Activity
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Rank | Ranked higher |
Sprint | 5.8.0 Sprint 3 [ 179 ] |
Rank | Ranked higher |
Assignee | Jonathan Reissmueller [ jonathan ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 14 minutes [ 840 ] | |
Worklog Id | 16448 [ 16448 ] |
Status | In Review [ 5 ] | Closed [ 6 ] |