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

inserting dashboard item using api from cli results in sql exception

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.4.15, 4.5
    • Component/s: CiviCRM API, Core CiviCRM
    • Labels:
      None

      Description

      The BAO tries to determine the contact id of the logged in user, which is empty when running from the CLI. It doesn't check for an empty value, instead it tries to insert a record with the empty value.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: