Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mbovan created an issue. See original summary.

mbovan’s picture

Title: Add "Test credentials" button » Add "Connect" button
Issue summary: View changes
Related issues: +#2658072: Replace "Test credentials" with "Connect" button
mbovan’s picture

Category: Task » Feature request
Issue summary: View changes
Status: Active » Needs review
FileSize
650 bytes
79.02 KB

Added "Connect" button after "private key" field.

Status: Needs review » Needs work

The last submitted patch, 3: replace_test-2658072-3.patch, failed testing.

The last submitted patch, 3: replace_test-2658072-3.patch, failed testing.

mbovan’s picture

Tested locally, no fails, not sure why it's failing on test bot.
This #2658072: Replace "Test credentials" with "Connect" button has to be committed first. :P

The last submitted patch, 3: replace_test-2658072-3.patch, failed testing.

mbovan’s picture

There is a new release of TMGMT, rerolling and adding tests for MyGengo.

Status: Needs review » Needs work

The last submitted patch, 8: add_connect_button-2655948-8.patch, failed testing.

mbovan’s picture

Debugged the test fail. The branch is failing since #2673172: Add a configuration option whether continuous job items should be submitted immediately or on cron where was added inactive state for job items.

Not related to this issue, it's an one-liner, but I think we can fix it here.

Edit: Updated the related issue.

edurenye’s picture

Status: Needs review » Needs work

Are you sure this last change is correct?
When you submit a Job, all it's items should change to active, isn't it?
I think something it's really wrong there.

Also the first time you open the provider settings page, should not show an error with the connection.
Moreover I think that it should get the account status instead of the language mappings to check if the connection works, then you can check both private and public key as right now is just checking the public one.
http://developers.gengo.com/v2/api_methods/account/#stats-get

Berdir’s picture

Status: Needs work » Needs review
FileSize
29.06 KB
3.04 KB

I like that.

Added the statistics API and updated the tests for how it works with that.

The active thing is a bug, but it's a bug in TMGMT: #2695217: Job items are not set to active if the job has been rejected previously.

Status: Needs review » Needs work

The last submitted patch, 12: tmgmt-twig-2695153-5.patch, failed testing.

Berdir’s picture

Wrong patch...

  • Berdir committed a0cc128 on 8.x-1.x
    Issue #2655948 by mbovan, Berdir: Add "Connect" button
    
Berdir’s picture

Status: Needs review » Fixed

Committed.

The last submitted patch, 10: add_connect_button-2655948-10.patch, failed testing.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.