Priority: Normal
Current State: Closed
Released In: 1.0.1
Target Release: patch
Applies To: Engine
Component: Configure
Branches:
Mac ._ files can create bogus files ending in .pm
The Mac OS generates metadata files that begin with ._ to go with regular files. So if you were to copy a file like I don't know
FormPlugin.pm
by hand into location, you will end up with another file named
._FormPlugin.pm
When
lib/Foswiki/Configure/UI.pm
performs the check at line 87 or so
my $checkClass = 'Foswiki::Configure::Checkers::' . $id;
...
eval "use $checkClass; \$checker = new $checkClass(\$item);";
It explodes rather un-elegantly.
The error print out unfortunately doesn't get to the ._ part of the error
adding
my $checkClass = 'Foswiki::Configure::Checkers::' . $id;
#if configure bails with Foswiki::Configure::Checkers::... foo uncomment below
#print '<p>' . $checkClass . '</p>';
my $checker;
eval "use $checkClass; \$checker = new $checkClass(\$item);";
let me see why it was bailing. then scraping through all the dirs on my server us la -ls let me find and remove the ._ files
SvenDowideit suggested there will need to be a check (too many lazy users like me mixing OS X with
http://code.google.com/p/macfuse/
--
DrewStevenson - 13 Feb 2009
neat - fixorated.
--
SvenDowideit - 14 Feb 2009