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

Karl Wright commented on CONNECTORS-518:
----------------------------------------

Checked in a fix for the login problem.

But now I'm looking at the "infinite loop" problem.  It seems to me that there 
are two possible explanations and I need to distinguish between the two.  Can 
you do the following:

- Run the job
- When it gets stuck in the "loop", can you generate a thread dump
- Attach the thread dump here

The way the list-documents code is supposed to work is that it keeps track of 
the last title it has seen, and requests only documents that are greater than 
that title on the next request.  So the "apfrom" argument should keep changing, 
as should the documents being returned.  It should, however, complete and start 
crawling after that.  It is possible that the actual document fetches are not 
working, and that is why it appears to "hang".  If so, you would see entries in 
the Simple History that would show documents being tried and retried.

                
> Wiki Connector support for API authorization and security tokens
> ----------------------------------------------------------------
>
>                 Key: CONNECTORS-518
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-518
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Wiki connector
>    Affects Versions: ManifoldCF 0.6
>            Reporter: Maciej Lizewski
>            Assignee: Karl Wright
>             Fix For: ManifoldCF next
>
>         Attachments: WikiConnector.java, 
> WikiConnector.java.namespace.id.patch, wiki.zip
>
>
> Wiki connector does not support API with restricted access (there is "login" 
> method in API: https://www.mediawiki.org/wiki/API:Login)
> There is no "security" tab for forced authorization tokens or any other 
> security implemented. There should be at least forced tokens tab or tokens 
> assigned to wiki namespaces (second would be better)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to