Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11578

Draft pipeline with invalid schedule still gets deployed successfully

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: Pipelines, Scheduler
    • Labels:
      None
    • Rank:
      1|i001vj:

      Description

      When you try to deploy a pipeline with an invalid schedule, you get an error saying "The cron expression <cron> is invalid". You can do this by going to Schedule, and inputting an invalid schedule in the Advanced section. See attached image and pipeline for an example.

      However, the pipeline still gets deployed (even though you stay in the studio). When you try to deploy again, it throws an error saying the pipeline exists.

      If the cron expression is invalid and the UI gets an error, then the pipeline should not deployed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ali.anwar Ali Anwar
                Reporter:
                tbach Tony Bach
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: