New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI event list fails on None #717
Comments
The subsequent error mentioned above is
It is caused by that some events on my gilab server do not have "target_title" filled in. Actually, the do not have filled in any relevant attribute, for some reason. FixFix of the subsequent (NOT the original error):
|
FixIn order to fix the primary error of this issue, I had to rename the "action" attribute: |
Hi @xarx00 Could you create a pull request with this change? Thanks. |
…fallback for missing Event parameters.
Description of the problem, including code/CLI snippet
gitlab event list
fails in v4/cli.py#l.38 withAttributeError: 'NoneType' object has no attribute 'lower'
.Specifications
Cause
The error is caused by the EventManager class in objects.py, because one of
_list_filters
is called "action". This name collides with the args attributeaction
, and one of them is probably overwritten. When renaming "action" in_list_filters
to something else,gitlab event list
continues further (and fails with another similar error).The text was updated successfully, but these errors were encountered: