Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pinowudi
Copy link

Shortened 'user.username' to 'user' because the function does not know how to handle the username object. It does handle the user object. This fixes patch updates to objects.

…w how to handle the username object. It does handle the user object. This fixes patch updates to objects.
@mgoffin
Copy link
Contributor

mgoffin commented Apr 24, 2019

I don't believe this is the correct fix. What is the problem you are seeing. If you look at the function .add_ticket() (found here: https://github.com/crits/crits/blob/master/crits/core/crits_mongoengine.py#L1134) it does in fact want the username string, not the user object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants