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

Creating a job schedule via API with a non existing Type, still creates it normally

Details

    Description

      Description
      Creating a job schedule via API with a non existing Type, still creates it normally.

      Steps to Reproduce

      1. Go to Applications Menu -> Control Panel -> Job Schedule;
      2. Open a new tab with http://localhost:8080/o/api;
      3. Open dispatch-rest;
      4. On postDispatchTrigger execute with a new dispatchTaskExecutorType;
      5. Go back to the job schedule tab;
      6. Observe.

      Expected Result

      The job schedule should not be created, an error should be triggered.

      Actual Result

      The job schedule is created normally even if a non existing type.

       Evidence:

      Reproduced In master: 
      0b0cb07ef60978c868bfd3ad476c126bd24f8e2e

      Attachments

        Issue Links

          Activity

            People

              kevin.wan Kevin Wan
              guilherme.vilarim Guilherme Vilarim
              Brian Wulbern Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                22 weeks, 4 days ago

                Packages

                  Version Package
                  7.4.3.57 CE GA57
                  7.4.13 DXP U60
                  Master