Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-29605

Scheduler does not work caused by the transformation between Message instance and JSON string.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE M2
    • Fix Version/s: 6.1.30 EE GA3, 6.2.0 CE M2
    • Component/s: Legacy
    • Labels:
      None

      Description

      Scheduler job depends on JSON string that generated from Message to pass parameters.

      The problem here is the JSON string generated from Message can not be deserialized properly caused by:
      1) NULL value in Message is stored as TransientValue cause it is not serializable.
      2) TransientValue can not be deserialized from JSON string cause it does not have no-argument constructor.

      Solution:
      a) Remove entry with NULL value in Message
      b) Add no-argument constructor to TransientValue

      In fact, either a) or b) can make it work, but we need both to ensure that Message can be transformed to or from JSON string properly on any circumstance.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael.saechang Michael Saechang
                Reporter:
                tina.tian Tina Tian
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 5 days ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.2.0 CE M2