Blogs

Blogs

Liferay Portal 7.4 GA28 and Liferay Commerce 4.0 GA28 Release

We are pleased to announce the release of Liferay Portal 7.4 GA28 and Liferay Commerce 4.0 GA28!

Caption

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image.  To get started using either Liferay Portal or Liferay Commerce, choose the best download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA28:

docker run -it -p 8080:8080 liferay/portal:7.4.3.28-ga28

For more information on using the official Liferay docker image see the liferay/portal repo on Docker Hub.

Bundles and other download options

If you are used to binary releases, you can find the Liferay Portal 7.4 GA28 and Liferay Commerce 4.0 GA28 release on the download page.  If you need additional files (for example, the source code, or dependency libraries), visit the release page.

Dependency Management

For development using the Liferay Platform, update Liferay Workspace to use the  latest dependencies, by adding the following line to the build.gradle file:

dependencies {
	compileOnly group: "com.liferay.portal", name: "release.portal.api"
}

All portal dependencies are now defined with a single declaration. When using an IDE such as Eclipse or IntelliJ all apis are immediately available in autocomplete for immediate use.  

By setting a product info key property it will be possible to update all dependencies to a new version by updating the liferay.workspace.product property in the liferay workspace projects gradle.property file:

liferay.workspace.product = portal-7.4-ga28

When using an IDE such as Eclipse or IntelliJ all apis are immediately available in autocomplete for immediate use.

Features

Commerce​​​​​​​

Orders with incomplete payments to be handled with retry from summary page

If on-line payments fail for any reason (for example lost connection, or close page before payment has been completed) when user returns to the order summary page there is an option to retry payment or reorder if payment keeps failing.

https://issues.liferay.com/browse/COMMERCE-9217​​​​​​​

 

Experience Building

Change default Favicon from Page Configuration

Now users can change the default favicon provided by the Theme from the page configuration, without the need to modify and re-deploy the Theme anymore.
This favicon change can be performed for Master pages and for page templates as well, so that pages created from them already have the new favicon.

https://issues.liferay.com/browse/LPS-153902

 

Keywords report deprecation

The Keywords Report has been removed from the Content Performance Panel because it was found to provide little value to our users. The amount of traffic required to generate this report was higher than most of our customers were experiencing. As such, only one customer was using this feature. Additionally, the feature proved difficult to test and maintain because it was not possible to mock the data required for testing.

We are currently looking into providing alternative metrics in the Content Performance Panel in lieu of the Keywords Report.

​​​​​​​https://issues.liferay.com/browse/LPS-149252

Documentation

All documentation for Liferay Portal and Liferay Commerce can now be found on our documentation site: learn.liferay.com.  For more information on upgrading to Liferay Portal 7.4 GA28 see refer to the Upgrade Overview.

Compatibility Matrix

Liferay's general policy is to test Liferay Portal and Liferay Commerce  against newer major releases of operating systems, open source app servers, browsers, and open source databases (we regularly update the bundled upstream libraries to fix bugs or take advantage of new features in the open source we depend on). 

Liferay Portal 7.4 GA28 and Liferay Commerce 4.0 GA28 were tested extensively for use with the following Application/Database Servers: 

Application Server

  • Tomcat 9.0

  • Wildfly 18.0, 23.0

Database

  • MySQL 5.7, 8.0

  • MariaDB 10.2, 10.4

  • PostgreSQL 12.x, 13.x

JDK

  • IBM J9 JDK 8

  • Oracle JDK 8

  • Oracle JDK 11

  • All Java Technical Compatibility Kit (TCK) compliant builds of Java 11 and Java 8

Search Engine Compatibility Matrix

Source Code

Source is available as a zip archive on the release page, or on its home on GitHub. If you're interested in contributing, take a look at our contribution page.

Bug Reporting

If you believe you have encountered a bug in the new release you can report your issue by following the bug reporting instructions.

Getting Support

Support is provided by our awesome community. Please visit helping a developer page for more details on how you can receive support.

Fixes and Known Issues

Use the docker it is not work ,got the error:

[LIFERAY] The directory /mnt/liferay/deploy is ready. Copy files to $(pwd)/xyz123/deploy on the host operating system to deploy modules to Liferay Portal at runtime.

[LIFERAY] Starting Liferay Portal. To stop the container with CTRL-C, run this container with the option "-it".

Cannot find /opt/liferay/tomcat/bin/setclasspath.sh This file is needed to run this program

Hi Gavin, what OS and Docker version are you using?  We are seeing reports of older versions of Docker having an issue with the image.

Thank you Jamie.

The version of  7.4 GA27 works well on the docker.

The version of the docker is:

[root@iZbp1dmodzug1apx50rte3Z ~]# docker version Client: Docker Engine - Community  Version:           19.03.13  API version:       1.40  Go version:        go1.13.15  Git commit:        4484c46d9d  Built:             Wed Sep 16 17:03:45 2020  OS/Arch:           linux/amd64  Experimental:      false

Server: Docker Engine - Community  Engine:   Version:          19.03.13   API version:      1.40 (minimum version 1.12)   Go version:       go1.13.15   Git commit:       4484c46d9d   Built:            Wed Sep 16 17:02:21 2020   OS/Arch:          linux/amd64   Experimental:     false  containerd:   Version:          1.2.13   GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429  runc:   Version:          1.0.0-rc10   GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd  docker-init:   Version:          0.18.0   GitCommit:        fec3683

I will check the new version later.

Hi Gavin, please keep us posted on if the docker upgrade helps or not.  It sounds like we recently switched the image to Ubuntu Jammy and it may require a recent version of Docker. 

/o/api throws an error in the Browser Console about the Liferay object being undefined in two different environments here. Anyone else have this issue?