[ic] locale config affects ability to write to certain db tables.

Andrew McBeath interchange-users@interchange.redhat.com
Tue Jun 4 23:13:01 2002


Hi guys,

In the ui.cfg file for the admin, there are 3 lines that state:

# Load individual locale settings.
# Comment this out to remove language selection box from login
page.
include lib/UI/locales/*_*.cfg

Commenting this line out gave me more than I bargained for:

The tax admin utility no longer worked!! (tax_simple.html), posting this
to the catalog error.log:

Attempt to set variable::Variable::TAXSHIPPING in read-only table
Attempt to set variable::Variable::TAXRATE in read-only table
Attempt to set variable::Variable::TAXAREA in read-only table

I then changed the line to:

include lib/UI/locales/de_DE.cfg

and then removed most of the contents of de_DE.cfg, leaving just the
following:

	Locale de_DE <<EOF
	{
	
	}
	EOF

Now the tax admin utility works again!

Hmmm...somethings not quite right there... ;-)

Is this behaviour by design and I'm just being misled by a stray
comment?  Or is further investigation into the actual code warranted?


Cheers,

-- 
Andrew McBeath
System Admin / Senior Developer
Zeald Ltd
ICQ: 53879543
Ph: +64 9 4157575
Mob: +64 21 434104

-------
Maybe in order to understand mankind, we have to look at the
word itself: "Mankind".
Basically, it's made up of two separate words - "mank" and "ind".

What do these words mean?
It's a mystery, and that's why so is mankind.

Jack Handy
-------