SMF icon indicating copy to clipboard operation
SMF copied to clipboard

Export profile error

Open jdarwood007 opened this issue 2 years ago • 1 comments

Description

/cron.php /Sources/tasks/ExportProfileData.php (Line 407)

Type of error: Cron Error message 2: rename(/profile_export/********.styled.xml.tmp,/profile_export/**********.styled.xml): No such file or directory

Steps to reproduce

  1. Unknown, error was in error log.

Environment (complete as necessary)

  • Version/Git revision: 2.1.1
  • Database Type: N/A
  • Database Version: N/A
  • PHP Version: 7.4

Additional information/references

jdarwood007 avatar Apr 16 '22 02:04 jdarwood007

The export probably got cancelled mid-execution. We have a test that checks whether the progress file has been deleted, but not one that checks whether the temp file has been deleted. A simple oversight, but it should be an easy fix.

Sesquipedalian avatar Apr 16 '22 21:04 Sesquipedalian