-
Notifications
You must be signed in to change notification settings - Fork 24
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
Burndown isParentOf
function throws error on tasks without body
#21
Comments
Hi @bavicj. Can you be a bit more specific here. Are you trying to deploy yoda-webhook function? What are the hard-coded parts (e.g. |
Hi @jens-markussen When I clicked on button "Show table" , no table was rendered for some milestones, and error was thrown in javascript console. So I only debugged it and found out that you are not checking whether issue2.body is null before accessing its indexOf method. I understand you are checking issue body to find specific texts, but can be that some tasks have only title (were created directly from github project view), without need to have actual body/comment. |
Ok, got it. Will fix ! |
Issue reproduced. Interestingly it does not occur in GitHub Enterprise (GHE) version which is in use at my company (HPE). |
Fixed. A few more protections had to be added for issues without body. I cannot be 100% sure that these work perfectly across all tools. If any problems detected, do let us know. |
isParentOf
function throws error on tasks without body
TypeError: Cannot read properties of null (reading 'indexOf')
The text was updated successfully, but these errors were encountered: