You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/23 02:10:41 UTC
[jira] [Commented] (TC-205) Invalidate Content requests when not
logged in as local user result in null pointer
[ https://issues.apache.org/jira/browse/TC-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937568#comment-15937568 ]
ASF GitHub Bot commented on TC-205:
-----------------------------------
GitHub user mitchell852 opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/399
[TC-205] - fixes null pointer when user logged in as ldap plus copy/paste errors…
… plus moved up invalid check
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mitchell852/incubator-trafficcontrol TC-205
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/399.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #399
----
commit cbd9d239e9927c9fff6242103e832a73bfb5e909
Author: Jeremy Mitchell <mi...@gmail.com>
Date: 2017-03-23T02:07:53Z
fixes null pointer when user logged in as ldap plus copy/paste errors plus moved up invalid check
----
> Invalidate Content requests when not logged in as local user result in null pointer
> -----------------------------------------------------------------------------------
>
> Key: TC-205
> URL: https://issues.apache.org/jira/browse/TC-205
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Ops, Traffic Ops API
> Reporter: Jeremy Mitchell
> Assignee: Jeremy Mitchell
> Priority: Minor
> Fix For: 2.1.0
>
>
> If you log in to TO using ldap and you don't have a user entry in the tm_user table, the following API will null pointer:
> POST /api/1.2/user/current/jobs
> https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/API/Job.pm#L93
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)