You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Markus Schuch (Jira)" <ji...@apache.org> on 2022/01/26 14:06:00 UTC
[jira] [Updated] (CONNECTORS-1697) JIRA Authority spams an ERROR for every unknown user to the log
[ https://issues.apache.org/jira/browse/CONNECTORS-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Schuch updated CONNECTORS-1697:
--------------------------------------
Summary: JIRA Authority spams an ERROR for every unknown user to the log (was: JIRA Authority spams an ERROR for every unknown User in the log)
> JIRA Authority spams an ERROR for every unknown user to the log
> ---------------------------------------------------------------
>
> Key: CONNECTORS-1697
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1697
> Project: ManifoldCF
> Issue Type: Bug
> Components: JIRA connector
> Affects Versions: ManifoldCF 2.20
> Reporter: Markus Schuch
> Priority: Major
>
> Jira 8 responds with HTTP response Code 404 for unknown users:
> {code:java}
> λ curl -i --cookie "JSESSIONID=******************" https://myjiraserver/rest/api/2/user?username=unkownUser
> HTTP/1.1 404
> ...
> {"errorMessages":["The user named 'unknownUser' does not exist"],"errors":{}{code}
> We allow only 200 OK responses to be processed, every other HTTP Response Code is transformed to a ManifoldCFExcepction and therefore loggt at level ERROR
> [https://github.com/apache/manifoldcf/blob/release-2.21/connectors/jira/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/jira/JiraSession.java#L284]
>
> An unknown user should not produce an error in the log
--
This message was sent by Atlassian Jira
(v8.20.1#820001)