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:
Alan Davis
2014-02-11 18:41:12 +00:00
parent d51b5639d0
commit 207072be45
2 changed files with 107 additions and 41 deletions

View File

@@ -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);