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

Accounting Batch tasks should not be exposed in other search forms (e.g. Find Contacts, Search Builder ...)

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: CiviCRM Search
    • Labels:
      None

      Description

      The Accounting Batch tasks (Close Batch, Export Batch, Reopen Batch) are being inadvertently included in 'actions' dropdown on other searches. The should only be available from Accounting Batch listings.

      ---- original post —
      I performed a search through Search Builder on my contacts. I was searching for two parameters as follows:

      Individual -> Custom Data field -> = -> specific value
      Individual -> Custom Data Field -> IS NOT EMPTY

      The search returned around 89 results split over 2 pages. I selected 'extract batch' from the drop down list and hit the 'go' button. I was returned a '500 internal server error' page as a result.

      My apache error.log file had the following entry:

      [Wed Feb 20 15:22:11 2013] [error] [client 169.253.194.1] PHP Fatal error: require_once(): Failed opening required 'CRM/Financial/Form/Task/Export.php' (include_path='.:/var/www/sites/all/modules/civicrm/:/var/www/sites/all/modules/civicrm//packages:.:/usr/share/php:/usr/share/pear') in /var/www/sites/all/modules/civicrm/CRM/Core/Controller.php on line 425, referer: http://mydomain.com/civicrm/contact/search/builder?_qf_Builder_display=true&qfKey=d6a242f75a7d496cd5c6e22a986540de_4193

      I verified that there was no Task folder under the CRM/Financial/Form directory as requested above.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              mcgeehon Josh McGeehon
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: