[ic] Error: Table options not available.

Jason Kohles interchange-users@lists.akopia.com
Fri May 25 14:11:01 2001


On Fri, May 25, 2001 at 09:37:03AM -0400, Michael Patton wrote:
> Happy Friday,
> 
> I am running Interchange 4.7.1
> 
> >From the admin section, when deleting a product.  I check the box, click
> on delete this item.  It deletes it but produces the following error
> message:
> 
> Error:
> Table options not available.
> 
I ran into this same problem this morning, and just checked in a fix to CVS,
or you can apply this patch to lib/UI/profiles/db_maintenance:

*** db_maintenance      2001/03/23 15:39:48     1.1.2.4
--- db_maintenance      2001/05/25 18:07:26
***************
*** 93,99 ****
  [if cgi deleterecords]
  [and !scratch nevair]
        [flag type=write table="[cgi mv_data_table] [cgi ui_delete_tables]"]
!       [perl tables="[cgi mv_data_table] [cgi ui_delete_tables]"]
                my $idp;
                return unless delete $CGI->{deleterecords};
                for(qw/ui_delete_id item_id/) {
--- 93,108 ----
  [if cgi deleterecords]
  [and !scratch nevair]
        [flag type=write table="[cgi mv_data_table] [cgi ui_delete_tables]"]
! 
!     [tmp mod_tables][/tmp]
!     [calc]
!         # get the tables to pass to the next perl tag
!         my @tables = qw/[cgi mv_data_table] [cgi ui_delete_tables]/;
!         map { s/:.*//; } @tables;
!         $Scratch->{'mod_tables'} = join(' ',@tables);
!     [/calc]
! 
!       [perl tables="[scratch mod_tables]"]
                my $idp;
                return unless delete $CGI->{deleterecords};
                for(qw/ui_delete_id item_id/) {

-- 
Red Hat E-Business Solutions                    Jason Kohles
11480 Sunset Hills Road                         Senior System Architect
Reston, VA 20190                                jkohles@redhat.com