Closed (fixed)
Project:
File (Field) Paths
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 May 2013 at 23:49 UTC
Updated:
21 May 2013 at 22:30 UTC
Hi,
there is wrong path in .info file. Line 14 ( http://drupalcode.org/project/filefield_paths.git/blob/refs/heads/7.x-1.... ) says:
files[] = modules/filefield_paths.drush.inc
but filefield_paths.drush.inc is in module's root.
I'm not attaching patch because I don't know if you prefer having the file in modules folder or the path fixed. Your call. :)
Full warning generated by Aegir:
A file has been declared in a module's .info, but could not be found. This is probably indicative of a bug. The missing file is sites/all/modules/contrib/filefield_paths/modules/filefield_paths.drush.inc.
Thanks for a great module!
Comments
Comment #1
decipheredOh yeah, I moved that, but obviously forgot to update the path.
Will fix that shortly.
Thanks for the report.
Comment #2
decipheredFixed and committed, thanks.
Comment #3
BrockBoland commentedFixed in http://drupalcode.org/project/filefield_paths.git/commit/7d7c3a8
For people like me to want to add a patch to their repo until the next release: http://drupalcode.org/project/filefield_paths.git/patch/7d7c3a8
Comment #4
q0rban commentedFor the record, the only files that need to be declared in the .info file are ones that have PHP classes in them.
Comment #5
deciphered@q0rban,
Yeah, I know, these are just things that I left in there from quite a long time ago, I really should have just cleaned it up instead of moving it, but I'll get to that at some stage.
Comment #6.0
(not verified) commentedBetter formating