Closed (fixed)
Project:
Drupal core
Version:
5.0-beta2
Component:
system.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2006 at 16:43 UTC
Updated:
25 Dec 2006 at 20:31 UTC
The other day I created a new module for Drupal 5-b2 with textmate for OS X. I created the files on a networked linux drive.
the .info and .module files have a 'hidden' (on os x and linux) ._ prefixed file with the same name, IE:
._modulename.module and ._modulename.info
Drupal picked these files up and showed a blank row just above the 'real' modules on the admin > modules page.
Obviously I could just ignore it or remove the files, but I think the module page should filter out anything with a . prefix.
Comments
Comment #1
ChrisKennedy commentedConfirmed this on linux as well.
The question then is: should drupal_system_listing() never return . files, or should module_rebuild_cache() be modified to ignore any . files?
Comment #2
ChrisKennedy commentedFixed in http://drupal.org/node/91592 by modifying file_scan_directory() to ignore all hidden files and directories.
Comment #3
(not verified) commented