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

Scheduler entries using property keys are not executed

    Details

      Description

      An scheduler entry (configured in liferay-portlet.xml) is not executed if it uses a property from portlet.properties to define its trigger intervals.

      Steps to repoduce

      1. Create a portlet which has two scheduler entries: one using <simple-trigger-value> and other using <portlet-keys>.
        • Each scheduler entry should print a different message in the log.
        • Both should define the same time interval.
        • The attached "Scheduler Test Portlet" (WAR file, Eclipse project) already does this.
      2. Deploy the portlet.
      3. Watch the logs.

      Expected results

      • After the interval, both scheduler entries would print the log message.

      Actual results

      • Only the scheduler entry using <simple-trigger-value> prints the message.

        Attachments

        1. fixed.png
          fixed.png
          25 kB
        2. reproduced.png
          reproduced.png
          15 kB
        3. scheduler-test2-portlet.zip
          63 kB
        4. scheduler-test2-portlet-7.0.0.1.war
          58 kB

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              adam.brandizzi Adam Brandizzi
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 45 weeks ago

                  Packages

                  Version Package
                  7.0.0 M4