|
From: Chris W. <ch...@cw...> - 2002-09-04 22:58:14
|
On Wed, 2002-09-04 at 17:53, Eric Reeves wrote: > > I just upgraded from SPOPS 0.64 and OI 1.41 to SPOPS 0.66 and OI 1.50, but > have run in to an issue w/ the migrate_to_filesystem.pl script. > > -- > > % sudo script/migrate_to_filesystem.pl > Using (/home/1stcontact.com/intranet) for 'website_dir'. > Can't use an undefined value as an ARRAY reference at > /usr/local/lib/perl5/site_perl/5.6.1/SPOPS/ClassFactory/DefaultBehavior.pm > line 26. > > Where might this undefined value be coming from? I see the line in question (when the 'field' value of an SPOPS configuration is undefined), but this should have been defined earlier in the process.... Just for kicks, do something like: # cd $WEBSITE_DIR/pkg # find . -name "spops.perl" | xargs grep ' field ' And see if you have any items with one of: field => '' field => undef, If so, try changing them to: field => [], And see what happens. Clearly this is fragile and shouldn't be so. > Besides this, development has been coming along nicely (as time allows). > I'm continuing to like OI more and more. . (= Good to hear! If you're so inclined, you might want to write something up like John Sequeira's case study. This kind of work is always welcome! http://radio.weblogs.com/0103492/gems/notes.html Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |