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

CRM_Mailing_BAO_Mailing:create changes all mailing settings back to default

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.1
    • Fix Version/s: 4.3.2
    • Component/s: CiviMail
    • Labels:

      Description

      CRM_Mailing_BAO_Mailing:create is called in the CRM_Mailing_Form_Schedule which is the final step in the mailing process.

      CRM_Mailing_BAO_Mailing:create has been changed to allow for mailings to be created through the API with default settings, however, since the same function is used for this as in Schedule.php, the result is to overwrite all mailing settings with the default settings for any mailing prepared using the standard civimail GUI.

      Suggesting that the new code added to CRM_Mailing_BAO_Mailing:create be put inside an if statement that is only activated if the function is called by the API. I'm not familiar at all with the API development, so I don't know if this is the best way or not. I'll wait for comments.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              bpmccain Brian McCain
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 6 hours
                6h
                Remaining:
                Remaining Estimate - 6 hours
                6h
                Logged:
                Time Spent - Not Specified
                Not Specified