Modify

Opened 22 months ago

Closed 75 minutes ago

Last modified 41 minutes 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 rjollos)

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 21 months ago by matobaa

  • Status changed from new to assigned

comment:2 Changed 21 months ago by matobaa

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

comment:3 Changed 75 minutes ago by matobaa

  • Resolution set to worksforme
  • Status changed from assigned to closed

comment:4 Changed 41 minutes ago by rjollos

  • Description modified (diff)

Add Comment

Modify Ticket

Action
as closed The owner will remain matobaa.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.