Guylaine Bassette created CONNECTORS-1773:
---------------------------------------------

             Summary: Bug in Manifoldcf UI when 2 same connectors are in the 
pipeline
                 Key: CONNECTORS-1773
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1773
             Project: ManifoldCF
          Issue Type: Bug
            Reporter: Guylaine Bassette
            Assignee: Piergiorgio Lucidi


Hello,

If I want to add the same transformation connector 2 times at 2 different steps 
in a job's pipeline, I get a bug in the interface. When I click on the tab of 
one, the other is also selected, so that if I want to switch to the other, I 
can't. The explanation is that the code generated in the HTML for the tags is 
as follows:
{code:java}
<div class="btn-group" sequencenumber="4">                        
    <a class="btn btn-md active" href="#tab_13" alt="Regex Entity tab">Regex 
Entity</a>
</div>
<div class="btn-group" sequencenumber="5">                        
    <a class="btn btn-md " href="#tab_14" alt="Tika server tab" 
onclick="javascript:SelectSequencedTab("Tika server","4");return false;">Tika 
server</a>
</div>
<div class="btn-group" sequencenumber="6">                                      
   
<!-- Here I should have: onclick="javascript:SelectSequencedTab... -->
   <a class="btn btn-md active" href="#tab_15" alt="Regex Entity tab">Regex 
Entity</a>
</div>

{code}
 

If I click on the "Tika" tab, I have this:

 
{code:java}
<div class="btn-group" sequencenumber="4">                        
    <a class="btn btn-md " href="#tab_13" alt="Regex Entity tab" 
onclick="javascript:SelectSequencedTab("Regex Entity","3");return false;">Regex 
Entity</a>
</div>
<div class="btn-group" sequencenumber="5">                        
    <a class="btn btn-md active" href="#tab_14" alt="Tika server tab">Tika 
server</a>
</div>
<div class="btn-group" sequencenumber="6">                        
    <a class="btn btn-md " href="#tab_15" alt="Regex Entity tab" 
onclick="javascript:SelectSequencedTab("Regex Entity","5");return false;">Regex 
Entity</a>
</div>
{code}
It's the right behavior, so I don't feel that the error comes from my 
definition of my transformation connector... And I experience the same for 
other existing transformation connectors.

Should the title of the 2nd tab be different? In my opinion, this would be a 
bug, as the sequence num is there to make the distinction.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to