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

If sqlImport.errors is not writable, old import errors will be provided to the user

    Details

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

      Description

      If the files/civicrm/upload/sqlImport.errors is not writable by the web user (e.g. www-data), CiviCRM will silently fail to overwrite sqlImport.errors with the errors from the most recent attempted import. Therefore, when the user is given the option to download import errors, they will download the last-written import errors instead of the actual errors from their most recent import.

      Instead of grabbing the old copy of sqlImport.errors, CiviCRM should report that sqlImport.errors is not writable and advise the user on how to get that fixed.

        Attachments

          Activity

            People

            • Assignee:
              sushant Sushant Paste
              Reporter:
              jackaponte Jack Aponte
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: