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

Polish for the Environment setting

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.27
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      While updating the documentation for the Environment setting, I found a few issues that could be polished:

      • If you set the Environment variable via `civicrm.settings.php`, outbound mail is not disabled.  This is going to give a nasty surprise to someone.  The guts of the `onChangeEnvironmentSetting` method should be extracted, and called when the Outbound Email page is loaded and before mail is sent.
      • Only `job.process_mailing` returns an error when the Environment is set to non-production.  All scheduled jobs should return an error.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              palantejon Jon K Goldberg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: