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

Karl Wright commented on CONNECTORS-430:
----------------------------------------

The first error is the same as what I get, but if you go back further in the 
output of the test you will see this:

{code}
[junit] ALERT: Invalid URLs in seeds list:n.comn
    [junit] FOCUS: On field 'seeds'
{code}

That's the smoking gun of what is actually going wrong: the page is not 
reloading because there's an alert (which outputs that busted message) and 
there's a subsequent focus(), but no submit occurs.  So the problem is that the 
regexp is not matching.

About the only way to chase this down will be to dump the regexp as the browser 
simulator sees it during the "test" method.  The appropriate place to look at 
the code is in 
framework/core/src/test/resources/org/apache/manifoldcf/core/tests/Javascript.py.



                
> An error should be returned if invalid seeds are typed into the seeds list 
> for the web connector
> ------------------------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-430
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-430
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Web connector
>    Affects Versions: ManifoldCF 0.1, ManifoldCF 0.2, ManifoldCF 0.3, 
> ManifoldCF 0.4, ManifoldCF 0.5
>            Reporter: Erlend GarĂ¥sen
>            Assignee: Erlend GarĂ¥sen
>            Priority: Minor
>             Fix For: ManifoldCF 0.6
>
>         Attachments: CONNECTORS-430.patch, CONNECTORS-430.patch
>
>
> If you create a job for the web connector and enter an invalid URL into the 
> seeds list, any value is accepted. An error message should be returned to the 
> user in order to prevent invalid seeds.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to