Merged V3.1 to HEAD

13867: Fix for ETHREEOH-986 - long names in Explorer details view show correct width in FF browser
   13869: Fixes for ETHREEOH-1387 and ETHREEOH-1390
   13872: Fix for issue where custom-web-framework-application-context should be optional in the web.xml for web-framework project.
   13909: Fix for ETHREEOH-1684
   13910: Fix for ETHREEOH-1266
   14015: Fixes for ETHREEOH-1864 and ETHREEOH-1840

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2009-04-20 14:46:20 +00:00
parent afbe290a62
commit bfcdb0fdb0
8 changed files with 25 additions and 21 deletions

View File

@@ -349,6 +349,15 @@ public class SubmitDialog extends BaseDialogBean
String submitLabel = this.label;
String submitComment = this.comment;
// crop to maximum length
if (submitLabel != null && submitLabel.length() > 255)
{
submitLabel = submitLabel.substring(0, 255);
}
if (submitComment != null && submitComment.length() > 255)
{
submitComment = submitComment.substring(0, 255);
}
// note: always submit via workflow (if no workflow selected, then defaults to direct submit workflow)
getSandboxService().submitListAssets(sbStoreId, relativePaths,