File tree Expand file tree Collapse file tree 9 files changed +3
-9
lines changed
src/main/java/org/woehlke/java/simpleworklist/domain Expand file tree Collapse file tree 9 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 1
- package org .woehlke .java .simpleworklist .application . framework ;
1
+ package org .woehlke .java .simpleworklist .domain ;
2
2
3
3
import org .springframework .ui .Model ;
4
4
import org .springframework .validation .BindingResult ;
Original file line number Diff line number Diff line change 13
13
import org .springframework .web .bind .annotation .PathVariable ;
14
14
import org .springframework .web .bind .annotation .RequestMapping ;
15
15
import org .springframework .web .bind .annotation .RequestMethod ;
16
- import org .woehlke .java .simpleworklist .application .framework .AbstractController ;
17
16
import org .woehlke .java .simpleworklist .domain .breadcrumb .Breadcrumb ;
18
17
import org .woehlke .java .simpleworklist .domain .chat .ChatMessage ;
19
18
import org .woehlke .java .simpleworklist .domain .chat .ChatMessageForm ;
Original file line number Diff line number Diff line change 7
7
import org .springframework .web .bind .annotation .PathVariable ;
8
8
import org .springframework .web .bind .annotation .RequestMapping ;
9
9
import org .springframework .web .bind .annotation .RequestMethod ;
10
- import org .woehlke .java .simpleworklist .application .framework .AbstractController ;
11
10
import org .woehlke .java .simpleworklist .domain .context .Context ;
12
11
import org .woehlke .java .simpleworklist .domain .context .ContextService ;
13
12
import org .woehlke .java .simpleworklist .domain .session .UserSessionBean ;
Original file line number Diff line number Diff line change 11
11
import org .springframework .validation .FieldError ;
12
12
import org .springframework .validation .ObjectError ;
13
13
import org .springframework .web .bind .annotation .*;
14
- import org .woehlke .java .simpleworklist .application .framework .AbstractController ;
15
14
import org .woehlke .java .simpleworklist .domain .breadcrumb .Breadcrumb ;
16
15
import org .woehlke .java .simpleworklist .domain .context .Context ;
17
16
import org .woehlke .java .simpleworklist .domain .project .Project ;
Original file line number Diff line number Diff line change 23
23
import org .woehlke .java .simpleworklist .domain .taskworkflow .TaskState ;
24
24
import org .woehlke .java .simpleworklist .domain .taskworkflow .TransformTaskIntoProjektService ;
25
25
import org .woehlke .java .simpleworklist .domain .user .account .UserAccount ;
26
- import org .woehlke .java .simpleworklist .application .framework .AbstractController ;
27
26
import org .woehlke .java .simpleworklist .domain .session .UserSessionBean ;
28
27
29
28
import javax .validation .Valid ;
@@ -243,7 +242,9 @@ public final String editTaskPost(
243
242
}
244
243
UserAccount userAccount = userAccountLoginSuccessService .retrieveCurrentUser ();
245
244
List <Context > contexts = contextService .getAllForUser (userAccount );
245
+
246
246
Task persistentTask = taskService .findOne (taskId );
247
+
247
248
persistentTask .merge (task );
248
249
task = persistentTask ;
249
250
Context thisContext = task .getContext ();
Original file line number Diff line number Diff line change 7
7
import org .springframework .web .bind .annotation .RequestMapping ;
8
8
import org .springframework .web .bind .annotation .RequestMethod ;
9
9
import org .springframework .web .bind .annotation .RequestParam ;
10
- import org .woehlke .java .simpleworklist .application .framework .AbstractController ;
11
10
import org .woehlke .java .simpleworklist .domain .context .Context ;
12
11
import org .woehlke .java .simpleworklist .domain .search .SearchService ;
13
12
import org .woehlke .java .simpleworklist .domain .search .result .SearchResult ;
Original file line number Diff line number Diff line change 9
9
import org .springframework .web .bind .annotation .ModelAttribute ;
10
10
import org .springframework .web .bind .annotation .RequestMapping ;
11
11
import org .springframework .web .bind .annotation .RequestMethod ;
12
- import org .woehlke .java .simpleworklist .application .framework .AbstractController ;
13
12
import org .woehlke .java .simpleworklist .domain .context .Context ;
14
13
import org .woehlke .java .simpleworklist .domain .session .UserSessionBean ;
15
14
Original file line number Diff line number Diff line change 18
18
import org .woehlke .java .simpleworklist .domain .taskworkflow .TaskState ;
19
19
import org .woehlke .java .simpleworklist .domain .taskworkflow .TransformTaskIntoProjektService ;
20
20
import org .woehlke .java .simpleworklist .domain .user .account .UserAccount ;
21
- import org .woehlke .java .simpleworklist .application .framework .AbstractController ;
22
21
import org .woehlke .java .simpleworklist .domain .session .UserSessionBean ;
23
22
24
23
import org .springframework .beans .factory .annotation .Autowired ;
Original file line number Diff line number Diff line change 19
19
import org .woehlke .java .simpleworklist .domain .language .UserChangeLanguageForm ;
20
20
import org .woehlke .java .simpleworklist .domain .user .access .UserAuthorizationService ;
21
21
import org .woehlke .java .simpleworklist .domain .breadcrumb .Breadcrumb ;
22
- import org .woehlke .java .simpleworklist .application .framework .AbstractController ;
23
22
import org .woehlke .java .simpleworklist .domain .context .NewContextForm ;
24
23
import org .woehlke .java .simpleworklist .domain .context .Context ;
25
24
import org .woehlke .java .simpleworklist .domain .user .account .UserAccount ;
You can’t perform that action at this time.
0 commit comments