View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004992 | mantisbt | bugtracker | public | 2004-12-16 13:45 | 2005-04-18 10:44 |
Reporter | pdugas | Assigned To | thraxisp | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.0.0a1 | ||||
Summary | 0004992: Use of is_uploaded_file() in file_add() prevents use in importer PHP script. | ||||
Description | I'm working on a PHP script to import issues from my old system and want to include attachments. Calling file_add() after bug_create() and bug_update(), the files are never attached. Turns out there is a call to is_uploaded_file() that is preventing the attachment. | ||||
Additional Information | I'm not really sure if you want to deal with this. I just commented out the test to bypass it for now. Figured it was worth mentioning in case others are trying to do the same. Is there any interest in the script? I'll attach relevant portions if desired. | ||||
Tags | No tags attached. | ||||