Empty item in MR's license management widget

Summary

In some cases the list of licenses that shows up in a Merge Request contains an empty item.

Example Project

gitlab-org/security-products/tests/java-maven!6 (closed)

artifact for MR: https://gitlab-org.gitlab.io/-/security-products/tests/java-maven/-/jobs/74798797/artifacts/gl-license-management-report.json

What is the current bug behavior?

The list contains an empty item.

What is the expected correct behavior?

It shouldn't be empty. Looking at the diff between the master branch and the MR, what's missing is probably ASL, version 2, LGPL, version 2.1.

Relevant logs and/or screenshots

Capture_d_écran_2018-06-14_10.41.10

Possible fixes

It has to be a bug in the frontend since gl-license-management-report.json looks good: all licenses have a name.

See diff between two versions of gl-license-management-report.json

Assignee Loading
Time tracking Loading