[ic] Cannot add new simple option in 4.9.8-release

Mike Heins mike at perusion.com
Wed Jul 30 19:15:27 EDT 2003


Quoting Reid Sutherland (reid-ic at thirddimension.net):
> This will patch the _new_ addition of a 'simple option' problem I've 
> explained in my original email (below).  This patch works for me, not 
> sure if it's the "right way" to fix it, but it works none the less.
> 
> I'm also going to write a HOWTO to deal with the new 4.9.8 option system 
> (upgrading from 4.8, etc).  The current documentation is sparse, and 
> confusing at times.  But I've been able to get it working for myself, so 
> I'll put it in writing and submit it to the list in the hopes it helps 
> others.
> 
> Patch for simple options follows:
> 
> --snip--
> --- lib/UI/pages/include/Options/Simple-orig  Fri Apr 11 19:30:38 2003
> +++ lib/UI/pages/include/Options/Simple      Wed Jul 30 14:59:25 2003
> @@ -25,7 +25,7 @@
>  [/perl]
>  [/if]
> 
> -[if cgi opt_groups]
> +[if cgi opt_group_]
>      [perl tables="[scratch option_table]"]
>          my $otab = $Scratch->{option_table};
>          my $odb = $Db{$otab};
> --snip--
> 
> Take care everyone,
> 

Thanks -- actually, I just added:

[or cgi opt_group_]

below the existing one. This should fix other people's problems
with creating new options when no previous options exist.

Fixed and credited in CVS -- thanks!

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.513.523.7621      <mike at perusion.com>

For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman


More information about the interchange-users mailing list