Modify

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

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.

Attachments (0)

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)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain matobaa.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.