Skip to content
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

'Event' object has no attribute 'id' #22

Open
wusb opened this issue Mar 5, 2020 · 3 comments
Open

'Event' object has no attribute 'id' #22

wusb opened this issue Mar 5, 2020 · 3 comments

Comments

@wusb
Copy link

wusb commented Mar 5, 2020

image

@Liubasara
Copy link

同遇到这个问题,请问有解决方法吗

@WisZhou
Copy link

WisZhou commented Mar 8, 2020

使用第三方fork:
https://github.com/WisZhou/sentry-dingding

自己fork或修改已安装包代码:
sentry_dingding/plugin.py 61行:
url=u"{}events/{}/".format(group.get_absolute_url(), event.id), -> url=u"{}events/{}/".format(group.get_absolute_url(), event.event_id)

BUG FIX PR:#23

参考sentry官方models定义
https://github.com/getsentry/sentry/blob/master/src/sentry/eventstore/models.py
getsentry/sentry@5e7a2c8#diff-e0d994d6b740db1b3ece3cb6c10ba419

@FeSeason
Copy link

@simbawus https://github.com/cench/sentry-10-dingding

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

No branches or pull requests

4 participants