Mailing List Archive

4.6.1 field tags return wrong value
Mike,

I just applied the patch.
All seems to work like a charm.8-)

Thanks for your efforts to find this nasty little teaser.

I wish you an your family good health and a prosperous New Year. May
everything turn out right for the whole year through.

Best regards,

Ton

At 10:11 AM 12/30/00 -0500, you wrote:
>Quoting Ton Verhagen (ton@verhagen.net):
> > 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/pag
> e/os28084.html
> >
> > 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!
> >
>
>This was a bit hard to find because it seemed to work to me (in other words,
>[field description [item-code]] worked. Turned out this was a problem with the
>
> [item-field column] -> [item-data Vend::OnlyProducts column]
>
>optimization that is done in Interpolate.pm.
>
>Patch attached and put in stable branch CVS.
>
>--
>Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
>phone +1.513.523.7621 fax 7501 <heins@akopia.com>
>
>I have a cop friend who thinks he ought be able to give a new ticket;
>"too dumb for conditions".