Opened 11 years ago

Closed 9 years ago

Last modified 9 years ago

#11014 closed defect (worksforme)

Hardcoded paths in fieldtootip.py do not exist in project directory structure — at Version 4

Reported by: anonymous Owned by: matobaa
Priority: normal Component: FieldTooltipPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

The code in filter_stream(...) function is using hardcoded strings representing file paths which do not exist in the project structure, resulting in failure of certain ticket-related pages to load.

line 75: {{{add_script(req, 'fieldtooltip/jquerytools/jquery.tools.min.js')}}}
line 76: {{{add_script(req, 'fieldtooltip/jquerytools/enabler.js')}}}
line 77: {{{add_stylesheet(req, 'fieldtooltip/jquerytools/jquery_tools_tooltip.css')}}}

Current directory structure:

0.12
|- fieldtooltit
   |-htdocs
     |-dir1
       |-blah.js
     |-dir2
     |-dir3
|- setup.py

In summary, jquerytools is missing.

Change History (4)

comment:1 Changed 11 years ago by matobaa

Status: newassigned

comment:2 Changed 11 years ago by matobaa

Could you try to restart your web server and report that reproduced or not

comment:3 Changed 9 years ago by matobaa

Resolution: worksforme
Status: assignedclosed

comment:4 Changed 9 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.