Finding the first bug in the RC version
in the future bits, to be more precise...
Today I was playing with profiles and xml-script and started getting an error which said object expected. It happened in the Sys.Preview.Services.ComponentsProfile method. this was a strange bug because the page was correctly loaded (ie, the profile properties were loaded from the server and the textboxes were initialized with their values). After using the debugger, i've noted that it stopped on this line:
if(methodName === "save") {
this.save.apply(this, parameters);
}
I'm still not sure on why they're using the apply method there since a simple call like the following:
this.save(parameters);
works without any problem. well, i've changed it and i'll put a post in the forums so that it gets fixed in the final release.