Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-10309

"Manage - Scheduled Jobs" Edit Screen API Entity Field only sets current value if it is "Job"

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.2.0
    • Component/s: None
    • Labels:
      None

      Description

      If you use the "Add New Scheduled Job" button to create something that uses an API other than "Job" (which I supposed you're allowed to do since there is a list box there), when you go back to edit that job, the API Entity fields always goes back to "Job" instead of what you had previously set.

      The Job.tpl has "Job" hard-coded instead of using the current value stored in the form array.

      This patch uses the value in the form array to determine which option should be "SELECTED".

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              mhlabriola Michael Labriola
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: