Opened 14 years ago
Last modified 12 years ago
#7600 new defect
TypeError actions[i] is undefined
Reported by: | Owned by: | Olemis Lang | |
---|---|---|---|
Priority: | normal | Component: | WhiteboardPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Attachments (3)
Change History (14)
Changed 14 years ago by
Attachment: | actions_i.JPG added |
---|
comment:1 Changed 14 years ago by
Status: | new → assigned |
---|
comment:2 Changed 14 years ago by
Changed 14 years ago by
Attachment: | typeerror.JPG added |
---|
comment:3 Changed 14 years ago by
Can you send me details about your Trac environment? I want to see if the problem is with interacting with another plugin.
The code that builds the actions is below. The plugin keeps track of this information every time you drop a ticket into a new column and then uses this it when you try to save your changes. Your error is implying that the parentElement property is undefined for some reason. To get the plugin to work with Trac 0.11 I had to rollback to an older version of jQueryUI that I am not familiar with, so I may be doing something wrong there.
actions.push({ "ticket": /(board_ticket_)(\d)/.exec(ui.item.attr("id"))[2], "from": ui.sender[0], "to": ui.item[0].parentElement });
comment:4 Changed 14 years ago by
here my system information I attached the html source code also.
System Information
Trac: 0.11.7 Python: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] setuptools: 0.6c9 SQLite: 3.3.4 pysqlite: 2.3.2 Genshi: 0.5.1 Pygments: 1.0 RPC: 1.0.6 Agilo: 0.8.3.2-r2138-20091203 Subversion: 1.5.6 (r36142) CustomFieldAdmin: 0.2.2 jQuery: 1.2.6
Changed 14 years ago by
comment:5 Changed 14 years ago by
Looking over the scripts on your page I think the culprit is the MindMapMacro. It is loading v1.7.2 of jQueryUI core. The WhiteboardPlugin is then attempting to load jQueryUI 1.6. Can you try disabling this macro and see what happens?
There may also be a problem with the load order of the scripts in the plugin. whiteboard.js is being loaded first when it should be last.
comment:8 Changed 14 years ago by
I disabled MindMapMacro and it's the same error. I took your new revision and it's the same error also.
comment:9 Changed 14 years ago by
I would start adding console.log() statements into whiteboard.js then. I'm developing myself on Trac 0.11.7 with the batch modify and XML RPC plugins installed. That leads me to still think that it is a conflict with some other plugin. I know Agilo is pretty heavyweight, but I don't know if it hooks into the query page.
comment:10 Changed 14 years ago by
I think it's not Agilo. It's the same problem with a project without Agilo.
didley
comment:11 Changed 12 years ago by
Owner: | changed from CuriousCurmudgeon to Olemis Lang |
---|---|
Status: | assigned → new |
What browser are you on? I have tested in Chrome 5, Firefox 3.6, and IE8 and cannot reproduce your error.