Modify

Opened 17 years ago

Closed 16 years ago

#1254 closed defect (duplicate)

delete button not shown in ticket with 1.1.4 version of ticketdeleteplugin

Reported by: phpxcache Owned by: ashwin_phatak
Priority: normal Component: BatchModifyPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

good version: r1346 (1.1) and bad version r2049 (1.1.4)

the 'delete' button used to shown with 'reply' button, but not with r2049.

Attachments (0)

Change History (4)

comment:1 Changed 17 years ago by phpxcache

Resolution: invalid
Status: newclosed

the report is wrong. i'll reopen this ticket when i find the right reproducable way.

comment:2 Changed 17 years ago by phpxcache

Component: TicketDeletePluginBatchModifyPlugin
Resolution: invalid
Status: closedreopened

Last Changed Rev: 1379

Index: batchmod/web_ui.py
===================================================================
--- batchmod/web_ui.py	(revision 2049)
+++ batchmod/web_ui.py	(working copy)
@@ -54,6 +54,8 @@
 
 
     # ITemplateProvider methods
+    def get_htdocs_dirs(self):
+        return []
 
     def get_templates_dirs(self):
         from pkg_resources import resource_filename

when requesting to http://..../project/chrome/mastertickets/x.png, i get. unstalling(not disable) BatchModifyPlugin make it ticket delete button works, it batchmodify that makes delete button files (js, i guess) failed to load

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 225, in process_request
    for dir in [os.path.normpath(dir[1]) for dir
AttributeError: 'BatchModifyModule' object has no attribute 'get_htdocs_dirs'

comment:3 Changed 17 years ago by Prasand J.

Owner: changed from Noah Kantrowitz to ashwin_phatak
Status: reopenednew

Ticket creator corrected the component, but not the assigned user. Updated.

comment:4 Changed 16 years ago by Colin Guthrie

Resolution: duplicate
Status: newclosed

Duplicate of #1337 (now fixed)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain ashwin_phatak.
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.