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

If more than one custom fields of type = file is included in a custom data group - a fatal error is thrown when saving the form

    Details

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

      Description

      See this forum post for info on recreating: http://forum.civicrm.org/index.php/topic,3964.0/topicseen.html

      I think this may only affect Custom Data Groups where display is TAB (as opposed to INLINE) ?? And may not happen if ALL file upload fields have been populated.

      Fatal error when tested on 2.0 demo:

      warning: rename(,/var/www/drupal.demo.civicrm.org/public/sites/drupal.demo.civicrm.org/files/civicrm/custom//) [function.rename]: No such file or directory in /var/www/drupal.civicrm.org/public/sites/drupal.demo.civicrm.org/modules/civicrm/CRM/Core/BAO/File.php on line 115.

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: