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

News Dashlet is blank if php5-curl is not installed

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.4.4
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)

      Description

      On a clean minimal Ubuntu build, php5-curl is not installed. This causes the News Dashlet to be blank. CRM_Utils_HttpClient::get returns a status of dl-error which causes CRM_Dashlet_Page_Blog::_getFeed to return null, resulting in an empty page.

      There is a commented out CRM_Core_Error::fatal in get. The difference in behaviour between get() and fetch() is noted in a FIXME comment.

      If the News Dashlet cannot load the feed because of missing curl functionality it would be better to provide an error/help message than leave it blank - particularly since the News Dashlet is enabled by default on a new install.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ayduns Aidan Saunders
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: