manifoldcf-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/CONNECTORS-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16008560#comment-16008560
] 

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*

Thanks,
KK

> New UI doesn't handle connector javascript form checking properly
> -----------------------------------------------------------------
>
>                 Key: CONNECTORS-1426
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1426
>             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
(v6.3.15#6346)

Mime
View raw message