mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
57027: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3) 56494: Merged HEAD-BUG-FIX to V4.2-BUG-FIX (4.2.1) 55500: <<NOT IN 4.1.6>> Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2) 55434: Merged DEV to V4.1-BUG-FIX (4.1.7) 54939 : MNT-9413 : NullPointerException thrown when a wiki page with a null title is renamed using Share - Using wiki page name, if page title isn't provided - Unit test was added git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61660 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -78,7 +78,7 @@ public class WikiPageMovePost extends AbstractWikiWebScript
|
||||
|
||||
|
||||
// Have the page re-named, if possible
|
||||
String oldTitle = page.getTitle();
|
||||
String oldTitle = page.getTitle().length() == 0 ? pageTitle : page.getTitle();
|
||||
try
|
||||
{
|
||||
page.setTitle(newTitle);
|
||||
|
Reference in New Issue
Block a user