Ofcourse the second bug also affects the other browsers. :-)

On 7 mrt, 13:04, egarretsen <[email protected]> wrote:
> Hi all, anthony,
>
> Anthony can you please help me with the following?
>
> 1) Whenever i use the apeClientJS.js framework, an error occurs in
> Opera on restore. I've found the location of the bug, but do not know
> how to fix it. Maybe you can help me.
>
> The error occurs at the line with content
>
> iframe.contentWindow.APE.init(config);
>
> The first time the page is loaded (no session restore) there is no
> problem with Opera, but when i refresh the page, the error occurs, it
> complaining about not being able to convert to object. I've tried to
> alert(typeof iframe.contentWindow.APE) => object , i've also tried to
> alert(typeof iframe.contentWindow.APE.init) => "function". Maybe the
> config argument is not an object? Chrome, firefox, IE all do not
> complain about this, but i've read that Opera is stricter about type
> casting. I do not know if this is true.
>
> I've read on the internet that this problem could be caused by older
> versions of MooTools, but i've installed Mootools 1.3.1 and this does
> not resolve the problem. Above that, the code of the apeClientJS,js
> does not use the mootools framework, so the problem could not be
> caused by Mootools, but i upgraded it just to be sure.
>
> Uncaught exception: TypeError: Cannot convert
> 'iframe.contentWindow.APE' to object
>
> Error thrown at line 119, column 2 in <anonymous function:
> AAlPE.Client.prototype.load>() 
> inhttp://www.cruisechat.nl/ape/APE_JSF/Build/uncompressed/apeClientJS.js:
>     iframe.contentWindow.APE.init(config);
>
> Because of this error the session cannot be restored at least in Opera
> 11.01 and the mobile version of Opera on the IPhone.
>
> the core is not loaded and therefore the whole startup fails.
>
> 2)
>
> The line
>
> config.identifier = config.identifier || APE.Config.identifier;
>
> is missing. When the argument is not passed on load, the iframe gets
> the id "ape_undefined", i don't think this is wanted behaviour.
>
> You can see the bug in action onwww.cruisechat.nl. Choose a
> "schuilnaam" (Nickname) and then press "Naar chat" (go to chat). After
> you've logged in with opera, everything should appear, but as soon as
> you refresh the error occurs. I'm testing for
> this.core.options.restore, but this is not set for the core is not
> loaded when refreshed due to the bug.
>
> Please help me with this. Thank you in advance,
>
> Evertjan

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to