Skip to content

Commit dba4cb8

Browse files
committed
work in progres
1 parent a603575 commit dba4cb8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/java/org/woehlke/simpleworklist/project/ProjectController.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import javax.validation.Valid;
2222
import java.util.List;
2323
import java.util.Locale;
24+
import java.util.UUID;
2425

2526
/**
2627
* Created by tw on 14.02.16.
@@ -86,6 +87,7 @@ public final String addNewTopLevelProjectSave(
8687
if (result.hasErrors()) {
8788
return "project/root/add/project";
8889
} else {
90+
project.setUuid(UUID.randomUUID().toString());
8991
return projectControllerService.addNewProjectToRootPersist(
9092
userSession,
9193
project,

src/main/resources/messages_en.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ project.show.state.scheduled=Scheduled
8585
project.show.state.someday=Someday
8686
project.show.state.completed=Completed Tasks
8787
project.show.state.trash=Trash
88-
project.show.nothingToDo=There is nothing to do in this project.
88+
project.show.nothingToDo=You have no Tasks in this project.
8989
layout.page.newContent=New Content
9090
layout.page.addProject=Add a Project
9191
layout.page.addTask=Add a Task

0 commit comments

Comments
 (0)