mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-10083 Workflow Task Title/Description can now be set using localization labels.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32240 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -225,8 +225,8 @@ public class WorkflowObjectFactory
|
||||
|
||||
String processKey = getProcessKey(defName) + ".task." + name;
|
||||
TypeDefinition metadata = taskDef.getMetadata();
|
||||
String title = getLabel(processKey, TITLE_LABEL, defaultTitle, metadata.getTitle(), name);
|
||||
String description = getLabel(processKey, DESC_LABEL, defaultDescription, metadata.getDescription(), title);
|
||||
String title = getLabel(processKey, TITLE_LABEL, metadata.getTitle(), defaultTitle, name);
|
||||
String description = getLabel(processKey, DESC_LABEL, metadata.getDescription(), title, defaultDescription);
|
||||
return new WorkflowTask(actualId,
|
||||
taskDef, name, title, description,
|
||||
state, path, properties);
|
||||
|
Reference in New Issue
Block a user