manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishore Kumar (JIRA)" <>
Subject [jira] [Commented] (CONNECTORS-1426) New UI doesn't handle connector javascript form checking properly
Date Fri, 12 May 2017 19:02:04 GMT


Kishore Kumar commented on CONNECTORS-1426:

Hi [~daddywri],

I have fixed the issue.

The issue was because I was using the Bootstrap Tab markup, even though we are changing the
active tab from the server side. I have removed the {{data-toggle="tab"}} attribute from the
HTML so that the Bootstrap javascript event for the tab is not fired.

Committed to trunk *r1795008*


> New UI doesn't handle connector javascript form checking properly
> -----------------------------------------------------------------
>                 Key: CONNECTORS-1426
>                 URL:
>             Project: ManifoldCF
>          Issue Type: Bug
>    Affects Versions: ManifoldCF 2.7
>            Reporter: Karl Wright
>            Assignee: Kishore Kumar
>             Fix For: ManifoldCF 2.8
> When a connector has javascript that checks for Configuration form legality via the checkConfig()
method, switching tabs causes the UI to get confused.  Sequence to reproduce:
> (1) Create or edit a connector configuration with a checkConfig() method
> (2) Click on a tab that has some checking
> (3) Modify a field so that it is illegal
> (4) Click on another tab
> - The proper error message is indeed displayed
> - The user clicks "OK" to cancel the alert
> - The proper tab continues to be displayed
> - The *selected* tab changes, and it *should not*
> If you then click "Save", you will be incorrectly told that there is another connection
of the same name.
> You can try this easily by creating a SharePoint connection, going to the Server tab,
and supplying a non-integer for the port number. Then click on the Throttling tab and see
what happens.

This message was sent by Atlassian JIRA

View raw message