Issue
An AUI Ajax call is being used to fetch data. The call has changed slightly between Liferay 6.2 and Liferay DXP 7.3
1)In 6.2 the code is:
AUI().use("aui-base", "aui-io-request", function(A) {
A.io.request(XYZ_URL, {---}) });
2) In 7.3 the code has been updated to:
AUI().use("aui-base", "aui-io-request-deprecated", function(A) {
A.io.request(XYZ_URL, {---}) });
Environment
- Liferay 7.2
Resolution
-
The 7.3 version of the call is still usable even though it is deprecated:
AUI().use("aui-base", "aui-io-request-deprecated", function(A) {
A.io.request(XYZ_URL, {---}) });
Additional Information
- Based on https://alloyui.com/api/modules/aui-io-request.html the 7.3 version of the call will serve the same function as it did in Liferay 6.2.