The documentation in the schema for the {files}.status column is wrong. In the file system/system.install,
'status' => array(
'description' => t('A flag indicating whether file is temporary (1) or permanent (0).'),
should be changed into
'status' => array(
'description' => t('A flag indicating whether file is temporary (0) or permanent (1).'),
The change is at line 594 in Drupal 6.3.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | system_files_schema.diff | 515 bytes | emok |
Comments
Comment #1
robin monks commentedI'm sorry, but we need a patch to be able to review and eventually fix your issue. For information on creating a patch yourself (it's really easy, honest!) go to http://drupal.org/patch/create .
Thanks for reporting your issue!
Robin Monks
Drupal Testing/QA Volunteer
Comment #2
emok commentedOK. Patch attached.
Comment #3
xjmThis issue was patched in D7: #437822: Description of {files} status flag wrong way round
The documentation bug still exists as of D6.17, though. (I wasted a bit of time wondering what kept randomly eating some files that had been imported from D5... that'll teach me to use shortcuts.)
Comment #4
jhodgdonI've reopened that other issue to fix the documentation there, since it has a valid patch (for D7). Closing this one as a duplicate.