Skip to content

Commit d6f1e99

Browse files
nnobelisoheger-bosch
authored andcommitted
fix(Fossid-webapp): Add missing mapping of "text" property
This solves a rare exception when listing identified files assigned to components with a non-empty license text. Signed-off-by: Nicolas Nobelis <[email protected]>
1 parent 8660e99 commit d6f1e99

File tree

1 file changed

+2
-1
lines changed
  • clients/fossid-webapp/src/main/kotlin/model/identification/identifiedFiles

1 file changed

+2
-1
lines changed

clients/fossid-webapp/src/main/kotlin/model/identification/identifiedFiles/License.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ data class License(
3131
val isOsiApproved: Int?,
3232
val isSpdxStandard: Int?,
3333

34-
val name: String?
34+
val name: String?,
35+
val text: String? = null
3536
)

0 commit comments

Comments
 (0)