Changeset 592 for trunk/grails-app/services
- Timestamp:
- Jun 10, 2010, 12:10:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/TaskService.groovy
r567 r592 171 171 * The taskProcedure is only assigned to the sub task if supplied in params. 172 172 * The assignedPersons and assignedGroups are only added to the sub task if supplied in params. 173 * The positiveFault property is never set on the subTask. 173 174 * Collections in params must be supplied as new ArrayList's. 174 175 * This method is not intended to be a copyTask method. … … 182 183 def result = [:] 183 184 184 //Make our new Task a subTask and set the required proper ites.185 //Make our new Task a subTask and set the required properties. 185 186 def p = [:] 186 187 p.parentTask = parentTask … … 189 190 p.targetStartDate = params.targetStartDate ?: dateUtilService.today 190 191 p.targetCompletionDate = params.targetCompletionDate ?: dateUtilService.today 192 193 p.safetyRequirement = params.safetyRequirement ?: parentTask.safetyRequirement 194 p.mandatoryRegulatory = params.mandatoryRegulatory ?: parentTask.mandatoryRegulatory 191 195 192 196 p.taskGroup = params.taskGroup ?: parentTask.taskGroup
Note: See TracChangeset
for help on using the changeset viewer.