src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt

changeset 191
193ee4828767
parent 186
05eec764facd
child 193
1e4044d29b1c
equal deleted inserted replaced
190:a83f1ab56898 191:193ee4828767
445 ) 445 )
446 446
447 // pre-select component, if available in the path info 447 // pre-select component, if available in the path info
448 issue.component = component 448 issue.component = component
449 449
450 // pre-select version, if available in the path info
451 if (version != null) {
452 if (version.status.isReleased) {
453 issue.affectedVersions = listOf(version)
454 } else {
455 issue.resolvedVersions = listOf(version)
456 }
457 }
458
450 with(http) { 459 with(http) {
451 view = IssueEditView( 460 view = IssueEditView(
452 issue, 461 issue,
453 projectInfo.versions, 462 projectInfo.versions,
454 projectInfo.components, 463 projectInfo.components,

mercurial