-
Notifications
You must be signed in to change notification settings - Fork 15
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
TypeError: Cannot read property 'raw_author' of undefined on commit hook #17
Comments
I am having the same problem here. I push to dev branch. Then if it all looks good I push to master, but strider fails with the raw_author message. |
This appears to be a bug with bitbucket. The commits array from bitbucket is empty, so there is no way to tell strider what to build. There appears to be a new webhooks api from bitbucket. Perhaps that works correctly? |
I'm able to reproduce this error so that I make 2 commits and pushes to the same projects to different branches. It occurs after 2nd push. The order of pushes does not matter. It fails on the 2nd push every time. --- (after searching and debugging around) --- I found the reason of this problem:
this Strider API gets notified with proper payload only on the first event and with empty commit payload on subsequent push events. The logic of commit triggers must be changed to cope with this (thinking) |
When I push new branch, or merge this branch to staging, eveything works fine.
When I try to push to master fast-forwarded merge from staging, I got this in logs:
The text was updated successfully, but these errors were encountered: