Ticket #149 (closed Defect: fixed)
initialization of webclient through topicmap-level permalinks with background image
Reported by: | Malte | Owned by: | |
---|---|---|---|
Priority: | Major | Milestone: | |
Component: | DeepaMehta Standard Distribution | Version: | 4.0.6 |
Keywords: | Cc: | ||
Complexity: | 3 | Area: | GUI |
Module: | deepamehta-webclient |
Description
intialization of webclient trough permalink on topicmap level where topicmap has background image, does sometimes work but sometimes does lead to the following error messages:
in chromium it's
"Uncaught Type Error: Cannot call method 'draw_background' of undefined at <topicmapid>:line 277
and in firefox it's
topicmap is undefined: line 276
and in both cases the interface is not loaded any further so that the result is: a visitor send directly to a topicmap with a backgruond image has a 50:50 chance to see a correctly loaded interface.
the same is the case if the user is send to a topic-level permalink where the topicmap has set a background image..
as of writing i realize that this is issue is not just dependent on topicmaps which have backgruond-images assigned, it also happens once in a while when just calling the http://localhost:8080/ default entry point for the webclient or a permalink for a map which does not have a topicmap-backgruond image assigned.
hope this helps.
tested with a 2 days old 4.0.6-SNAPSHOT in chromium and firefox
Thanks for pointing out that!
Yes, I see this issue in case of a plugin is initiating a canvas refresh (e.g. displaying topics) at a time the Topicmaps plugin is instantiated but not yet initialized.
However, I can't produce this with the DM standard distribution. I'm just curious: Do you have any custom plugins installed?
I consider a quick fix.