Antville Project

error in skinmanager

hi, i'm getting this error when i try to save modifications in the skin editor: [HopMacro error: FESI.Exceptions.EcmaScriptException: Runtime error The property '[object JavaArray]' is not defined in object 'ES:[Object]' detected at line 36 of function 'skineditor_macro' in file: '/usr/local/hop/apps/antville/skinmgr/macros.js']

comment    

 
hns, August 30, 2001 at 10:37:11 PM CEST

thanks for the report

I'll look into that tomorrow. sounds interesting.

link  

 
robert, August 30, 2001 at 11:39:56 PM CEST

thats because

there are two hidden values ("proto" and "name") in the form, and because the form-tag has no action defined, the hidden values are posted - which is ok, but the arguments in the url (which are also named "proto" and "name") are posted too - which is strange. Since the last snapshot Helma is capable of storing multiple values for a form element - which means that req.data.proto and req.data.name appear as arrays ... i made a quick workaround which should help for now and have a closer look on weekend.

link  

 
hns, August 31, 2001 at 12:34:37 AM CEST

it's already fixed in the new 20010831 snapshot.

The new rule is:

A form parameter is always a string. If a parameter has more than one value, these values are additionally stored in an array with the name paramname_array.

The way we had it before was pretty fragile, as we saw.

link  

 
tobi, August 31, 2001 at 1:19:21 PM CEST

that's

a very smart solution. best of both worlds and not breaking anything. well done, hannes.

link  


... comment


The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8551 Days
last updated: 1/4/11, 10:22 AM
status
Youre not logged in ... Login
menu
November 2024
SunMonTueWedThuFriSat
12
3456789
10111213141516
17181920212223
24252627282930
July
recent
zfuture's house here is zfuture's
house
by zfuture (7/31/03, 2:59 AM)
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
So finally I found
the helma Bugzilla - stupid me.
by mdornseif (7/24/03, 10:28 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
but blogosphere.us isn't can't really
be rated as spam can it?
by kohlehydrat (7/23/03, 8:08 PM)
More referrer spam www.webfrost.com
by Irene (7/23/03, 7:55 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)

Click here to get an XML version of this weblog.

Made with Antville
powered by
Helma Object Publisher