The following are some of the things i found out in Liferay7 instance when i installed in my local instance and while using. Here are some of the types of changes
- Functionality that is removed or replaced
- API incompatibilities: Changes to public Java or JavaScript APIs
- Changes to context variables available to templates
- Changes in CSS classes available to Liferay themes and portlets
- Configuration changes: Changes in configuration files, like portal.properties, system.properties, etc.
- Execution requirements: Java version, J2EE Version, browser versions, etc.
- Deprecations or end of support: For example, warning that a certain feature or API will be dropped in an upcoming version.
- Recommendations: For example, recommending using a newly introduced API that replaces an old API, in spite of the old API being kept in Liferay Portal for backwards compatibility.
Removed the liferay-ui:journal-article Tag
Old Code:
New Code:
Removed render Method from AssetRenderer API and WorkflowHandler API
This affects any Java code calling the method render on an AssetRenderer or WorkflowHandler class, or Java classes overriding the render method of these classes.- Removed Vaadin 6 from Liferay Core.Upgrade to Vaddin 7
- Removed Support for runtime-portlet Tag in Body of Web Content Articles
- Removed the liferay-ui:control-panel-site-selector Tag instaed of that use liferay-ui:my-sites tag
- Changed Exception Thrown by Documents and Media Services When Duplicate Files are Found
DuplicateFileException changed to DuplicateFileEntryException
The DuplicateFileException exception was used in two different contexts:
When creating a new file through D&M and a row in the database already existed for a file entry with the same title.
When the stores tried to save a file and the underlying storage unit (a file in the case of FileSystemStore) already existed. - The liferay-ui:logo-selector Tag have parameters changes
Old way :
New way :
Observations:
Removal of parameter editLogoURL.
Including (if neccessary) new parameters currentLogoURL, hasUpdateLogoPermission, maxFileSize, and/or tempImageFileName.
Removed get and format Methods which are using PortletConfig as Parameter
Old way :
LanguageUtil.get(portletConfig, locale, key);
New way :
LanguageUtil.get(portletConfig.getResourceBundle(locale), key);
Changed the AssetRenderer and Indexer APIs to Include the PortletRequest and PortletResponse Parameters
The getSummary() method of AssetRenderer and doGetSummary() method of indexer API must include these two parameters as part of method parameters.
AssetRenderer
Old way :
protected Summary doGetSummary(Document document, Locale locale, String snippet, PortletURL portletURL)
New way :
protected Summary doGetSummary(Document document, Locale locale, String snippet, PortletRequest portletRequest, PortletResponse portletResponse)
Indexer API
Old way :
public String getSummary(Locale locale)
New way:
public String getSummary(PortletRequest portletRequest, PortletResponse portletResponse)
The aui:input Tag for Type checkbox No Longer Creates a Hidden Input
Whenever the aui:input tag is used to generate an input of type checkbox, only an input tag will be generated, instead of the checkbox and hidden field it was generating before.
Changes in Exceptions Thrown by User Services
Converted into inner classes
DuplicateUserScreenNameException → UserScreenNameException.MustNotBeDuplicate
DuplicateUserEmailAddressException → UserEmailAddressException.MustNotBeDuplicate
ReservedUserScreenNameException → UserScreenNameException.MustNotBeReserved
ReservedUserEmailAddressException → UserEmailAddressException.MustNotUseCompanyMx, UserEmailAddressException.MustNotBePOP3User, and UserEmailAddressException.MustNotBeReserved
ReservedUserIdException → UserIdException.MustNotBeReserved
ContactFirstNameException, ContactFullNameException, and ContactLastNameException → ContactNameException.MustHaveFirstName, ContactNameException.MustHaveFullName and ContactNameException.MustHaveFullName
Removed Trash Logic from DLAppHelperLocalService Methods
The deleteFileEntry() and deleteFolder() methods in DLAppHelperLocalService deleted the corresponding trash entry in the database. This logic has been removed from these methods.
Note : The deleteFileEntry() and deleteFolder() methods in TrashCapability not only remove the trash entry, but also remove the folder or file entry itself, and any associated data, such as assets, previews, etc.
Removed Sync Logic from DLAppHelperLocalService Methods
The moveFileEntry() and moveFolder() methods in DLAppHelperLocalService methods have been removed.These are methods related to Sync events(Liferay Sync).
Removed the .aui name space from bootstrap and upgrading bootstrap to 3.0
AS we know the pepole who worked in Liferay6.2 they are aware of this thing, this .aui namespace is conflicting with other third party libraries like it exists in Alloy UI also.Which leads to breaking of other functionalities.- Added New Methods in the ScreenNameValidator Interface
getDescription(Locale): returns a description of what the screen name validator validates.
getJSValidation(): returns the JavaScript input validator on the client side. - Added Required Parameter groupId for Adding Tags, Categories, and Vocabularies
addTag in AssetTagService or AssetTagLocalService
addCategory in AssetCategoryService or AssetCategoryLocalService
addVocabulary in AssetVocabularyService or AssetVocabularyLocalService
updateFolder in JournalFolderService or JournalFolderLocalService - Removed the Tags that Start with portlet:icon-
- portlet:icon-close
- portlet:icon-configuration
- portlet:icon-edit
- portlet:icon-edit-defaults
- portlet:icon-edit-guest
- portlet:icon-export-import
- portlet:icon-help
- portlet:icon-maximize
- portlet:icon-minimize
- portlet:icon-portlet-css
- portlet:icon-print
- portlet:icon-refresh
- portlet:icon-staging
Removed Portal Properties Used to Display Sections in Form Navigators
- company.settings.form.configuration
- company.settings.form.identification
- company.settings.form.miscellaneous
- company.settings.form.social
- layout.form.add
- layout.form.update
- layout.set.form.update
- organizations.form.add.identification
- organizations.form.add.main
- organizations.form.add.miscellaneous
- organizations.form.update.identification
- organizations.form.update.main
- organizations.form.update.miscellaneous
- sites.form.add.advanced
- sites.form.add.main
- sites.form.add.miscellaneous
- sites.form.add.seo
- sites.form.update.advanced
- sites.form.update.main
- sites.form.update.miscellaneous
- sites.form.update.seo
- users.form.add.identification
- users.form.add.main
- users.form.add.miscellaneous
- users.form.my.account.identification
- users.form.my.account.main
- users.form.my.account.miscellaneous
- users.form.update.identification
- users.form.update.main
- users.form.update.miscellaneous
Removed Methods getGroupLocalRepositoryImpl and getLocalRepositoryImpl from RepositoryLocalService and RepositoryService
Old Call :
RepositoryLocalServiceUtil.getRepositoryImpl(0, fileEntryId, 0)New Call :
RepositoryProviderUtil.getLocalRepositoryByFileEntryId(fileEntryId)
Renamed ActionCommand Classes Used in the MVCPortlet Framework
Old Classes
BaseActionCommandNew Classes
BaseTransactionalActionCommand
ActionCommand
ActionCommandCache
BaseMVCActionCommand
BaseMVCTransactionalActionCommand
MVCActionCommand
MVCActionCommandCache
No comments:
Post a Comment