[ic] 4.6.1 field tags return wrong value

Ton Verhagen ton@verhagen.net
Wed, 27 Dec 2000 16:07:23 +0100


At 08:19 AM 12/27/00 -0500, you wrote:
>Quoting Ton Verhagen (ton@verhagen.net):
> > Dear All,
> >
> > The item-field tag and friends return the wrong value when localization is
> > in effect.
> > I'm using: IC4.6.1 -- RH7.0 -- Perl5.6
> >
> > Example:
> >
> > My flypage only contains three tags:
> > [item-code] - [item-field title] - [item-field comment]
> >
> > Locale table contains:
> > code en_US de_DE fr_FR nl_NL
> > ProductFiles products de_products fr_products nl_products
> > products products de_products fr_products nl_products
> >
> >
> > Setting the locale to nl_NL with:
> > http://www.mydomain.com/cgi-bin/construct/process/locale/nl_NL/page/index
> >
> > Call my flypage with:
> > http://www.mydomain.com/cgi-bin/construct/os28084.html
> >
>
>I think someone already asked this, but what *do* you get when you call
>http://www.mydomain.com/cgi-bin/construct/page/process/locale/nl_NL/page/os28084.html

Dear Mike,

Thanks for your response.

As in an earlier posting to list:

Call my flypage with:
http://www.mydomain.com/cgi-bin/construct/os28084.html

Results on my flypage:
os28084 - Tape Measure - No matter what you need to measure ... [snip]
This is wrong!

The results should be:
os28084 - Rolmaat - Wat u ook wilt meten ... [snip]

Obviously the information comes from table 'products' although it should 
come from table 'nl_products' !

For the record:
$Config->{ProductFiles} contains the proper value: nl_products
Variable MV_DEFAULT_SEARCH_FILE contains also: nl_products

The above code returned the correct information in IC4.6.0

Thanks for your kind cooperation.

Best regards,

Ton