« Back to Upgrade...

Upgrade 6.0 plugins to 6.1

Themes #

  • The default bullet styles in classic theme have been renamed from "1,2" to "arrow, dots". If you were using these bullet style names for your theme style bullets, please update your theme in the file liferay-look-and-feel.xml.

Documents hook #

  • migrated to JCR 2.0

CreateAccountURL #

  • The method getCreateAccountURL() in ThemeDisplay has been changed by method LoginUtil.getURLCreateAccount(HttpServletRequest request, ThemeDisplay themeDisplay)


  • DLAppService now the main business service to call for any document library invocations
  • DLFileEntryService, DLFileVersionService and DLFolderService merged into DLRepository (some business logic moved to DLAppService)
  • FileImpl.extractText() uses Tika now
  • Classes FileNameExcpetion and FileSize exception belong now to package com.liferay.portlet.documentlibrary (instead of com.liferay.documentlibrary
  • AssetLinkLocalServiceUtil.getLinks() behavior has changed. Use this method for the old behavior AssetLinkLocalServiceUtil.getDirectLinks()

Document Library & Image Gallery #

  • Image Gallery Model and Services don't exist anymore. Image Gallery becomes Image Gallery display and it's just a Document Library viewer customized for images.
  • Every development that used ImageGallery services must be changed to user DocumentLibrary services (DLApp)

Image Servlet #

  • ImageServlet doesn't exist anymore. All the logic has been merged into WebServerServlet. ImageServletToken has been replaced by WebServerServletToken.
  • "imageToken" velocity and free marker variable has been deprecated. Now, webServerToken must be used.
0 Attachments
Average (2 Votes)
The average rating is 1.5 stars out of 5.
Threaded Replies Author Date
It's okay to have this information, but I think... Sergio Romero July 5, 2013 2:33 AM
I am using Liferay EE 6.1 GA2 and I could not... Aliabbas Surti July 25, 2013 5:58 PM
Try something like this: ... Richard Oliver Legendi October 16, 2013 2:02 AM

It's okay to have this information, but I think there are more changes required to migrate from 6.0.x to 6.1.x
Posted on 7/5/13 2:33 AM.
I am using Liferay EE 6.1 GA2 and I could not find the method LoginUtil.getURLCreateAccount(HttpServletRequest request, ThemeDisplay themeDisplay)!

Can anyone please suggest the correct approach to display the create account URL?

Posted on 7/25/13 5:58 PM.
Try something like this:

PortalClassInvoker.invoke("com.liferay.portal.login.LoginUtil", "getCreateAccountHREF", request, themeDisplay)

The guys moved the functionality, but "accidentally forgot" to give us privileges to access it. You hopefully can get it this way if you have access to the request.
Posted on 10/16/13 2:02 AM in reply to Aliabbas Surti.