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

import.php dies with the wrong reason when fopen to the import CSV fails.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.8
    • Fix Version/s: 4.2.0
    • Labels:
      None

      Description

      When fopen() for the path to the CSV file that you provide when using import.php on the command line returns NULL, the import.php script will continue anyway and further on die for the wrong reason. The handle which fopen() returns isn't checked for NULL.

        Attachments

          Activity

            People

            • Assignee:
              xavier xavier dutoit
              Reporter:
              jeroen Jeroen Bensch
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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