Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1736

Incorrect constructor for AuditMessage class

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2 EE SP2 (5.2.6)
    • Fix Version/s: 5.2 EE SP3 (5.2.7)
    • Component/s: None
    • Labels:
      None

      Description

      The AuditMessage class contains an incorrect constructor.

      In the constructor

      public AuditMessage(
      String eventType, long companyId, long userId, String userName,
      String className, String classPK, String message,
      JSONObject additionalInfo)

      the use of className and classPK is reversed. The has been fixed without changing the constructor's signature.

      Note: This issue does not affect the portal out of the box and only affects custom code that uses this constructor.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              paul.piao Paul Piao (Inactive)
              Reporter:
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  5.2 EE SP3 (5.2.7)