Cannot read property 'length' of undefined #972
-
Hi. I just added this block to my release template and started getting this error Global list of CS ({{commits.length}}) Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
I suspect the The immediate test is to try with this line removed, make sure it runs through. After that, you will want to look at the data to see why there is an issue. You have a few options here
The issue will be
|
Beta Was this translation helpful? Give feedback.
-
You have found a bug. The API call The issue is that the task has a number of code paths
The code to get the commit details are not run on the code path you are using. This is logged as #974. I will get onto it ASAP |
Beta Was this translation helpful? Give feedback.
You have found a bug.
The API call
buildApi.getBuildChanges(teamProject, build.id)
gets the details of the headline commit, but not the actual list of files. I have to make another set of calls to do this.The issue is that the task has a number of code paths
and I there are probably more edge case paths.
The code to get the commit details are not run on the code path you are using. This is logged as #974. I will get onto it ASAP