Closed (fixed)
Project:
Timeline
Version:
master
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
22 Oct 2006 at 17:08 UTC
Updated:
14 Nov 2006 at 10:45 UTC
I'm not expecting much by filing this issue as I know that timeline-api.js is maintained by another party. I did want to mention it, though, in case it might help.
I got this JavaScript error with both the CVS version and Arto's contrib: Caught exception: SyntaxError: missing ) in parenthetical
There aren't any other errors (in the JavaScript console). I've attached a cropped screenshot of what is finally rendered.
| Comment | File | Size | Author |
|---|---|---|---|
| timeline.png | 11.02 KB | Christefano-oldaccount |
Comments
Comment #1
Arto commentedThanks for reporting this. I've heard that some people have had trouble with the upstream widget on various IE versions, possibly this is related. Could you elaborate on the exact Firefox version (and operating system) you experienced the problem with, please?
BTW, in case you have the time and interest: you could install the Firebug extension (http://www.joehewitt.com/software/firebug/) for Firefox, which essentially provides a fully-fledged JavaScript debugger, and could help pinpoint the problem more precisely?
Comment #2
Christefano-oldaccount commentedI'm using Firefox 1.5.0.7 on OS X. I also tried Safari 2.0.4 and got the same error.
I'll be able to help more when I work on adding Gantt chart capabilities to my site (maybe a week or two).
Comment #3
Christefano-oldaccount commentedNo errors this time; just a blank box. Here's what Firebug has to report for timeline/nodes:
I'm using Timeline CVS (1.3) with Views 4.7 (1.159) on Drupal 4.7.3.
Comment #4
yelvington commentedThe same problem exists with Firefox 2.0 / Mac OS X. If you reset the module to use XML instead of JSON, you get a message "Caught exception: TypeError: v1 has no properties"
Comment #5
yelvington commentedThis may simply be a bad interaction with the devel module, which appends execution time data to pages. If you examine the output of /timeline/json?view=timeline_events and devel module is enabled, you can see the junk at the end.
I disabled devel.module on my test system and the view started working.
However, /timeline/xml?view=timeline_events delivers a blank page, which causes an error if XML is enabled in preference to JSON in the config.
Comment #6
Christefano-oldaccount commentedEverything works for me after disabling the devel module. Thanks for the tip, yelvington!
http://fabracadabra.org/timeline
This is such an awesome module.
Comment #7
Christefano-oldaccount commentedSorry, that should be http://fabracadabra.org/timelines
Thank you for all your work on this!
Comment #8
Arto commentedThanks for catching this, Steve - sure would've been hard to track it down otherwise :-)
I've just committed a fix to the module's CVS version that will prevent other modules from messing with the timeline feed. If you guys grab that (the tarball should be updated by tomorrow), you can safely re-enable the devel module.
Comment #9
(not verified) commented