Modify

Opened 4 years ago

Closed 2 years ago

Last modified 2 years ago

#11014 closed defect (worksforme)

Hardcoded paths in fieldtootip.py do not exist in project directory structure

Reported by: anonymous Owned by: Matoba Akihiro
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 4 years ago by Matoba Akihiro

Status: newassigned

comment:2 Changed 4 years ago by Matoba Akihiro

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

comment:3 Changed 2 years ago by Matoba Akihiro

Resolution: worksforme
Status: assignedclosed

comment:4 Changed 2 years ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Action
as closed The owner will remain Matoba Akihiro.
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.