Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.0
    • Fix Version/s: None
    • Component/s: CiviCRM API, CiviHR
    • Labels:
      None

      Description

      In the CiviHR UI for managing roles, one saves the entire list of roles by calling:

      CRM.api('HRJobRole','replace',

      { job_id: 123, values: [ ...list of records... ] }

      )

      This works correctly as long as "list of records" has at least one item. If it's an empty array, then some component discards or ignores it, and the server replies with an error "Mandatory key(s) missing from params array: values".

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m