package: interchange
severity: minor

I migrated an Interchange store to the current CVS. In a search specification 
there was
code leftover:

<a href="[area href='search' form=|
st=db
co=1
os=1
tf=ArtikelgruppenID,Artikeltext1
sf=ArtikelgruppenID
se=[item-param ID]
op=eq[/query]
Pointer=[cgi Pointer]|]">[item-param Gruppe]</a>

The older version doesn't mind, but the current one failed with:

search error: Limit subroutine creation: Can't use an undefined value as an 
ARRAY reference at /usr/lib/interchange/Vend/Search.pm line 653.

which comes from:

                $c->[$i] = $s->{mv_numeric}[$i]
                                ? [ @{$numopmap{$o}} ]
                                : [ @{$stropmap{$o}} ];

IC should check the search operation strings earlier and give the user a 
descriptive error
message.

Bye
        Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to