Posted by drewish on September 6, 2008 at 11:23pm
| Project: | Drupal core |
| Version: | 7.x-dev |
| Component: | simpletest.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Simple addition to check that a file is a file before we try to upload it. At least on OS X trying to upload a directory results in problems.
Some other trailing whitespace cleanups got rolled in by my editor.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| simpletest_real_files.patch | 2.56 KB | Idle | Unable to apply patch simpletest_real_files.patch | View details |
Comments
#1
I removed white-space clean-up since that is in several other patches and the rework patch should make in soon (#305077: Rework simpletest backend).
The upload test doesn't pass with this applied.
#2
ah, seems like the order of operations was getting wacky. this passes all the uploading (upload.module, blogapi.module, user.module) tests.
#3
simple fix... still applies.
#4
Committed to HEAD. Thanks!
#5
Automatically closed -- issue fixed for two weeks with no activity.