Incidencia #29011

PATCH improve compatibility with Trac > 0.12.3

Abrir Fecha: 2012-07-16 08:18 Última actualización: 2013-04-26 22:29

Informador:
(Anónimo)
Propietario:
(Ninguno)
Tipo:
Estado:
Cerrado
Componente:
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
Ninguno

Details

especially compatibility with Trac 1.0dev

Index: ticketgantt.py
===================================================================
--- ticketgantt.py	(revision 827)
+++ ticketgantt.py	(working copy)
@@ -649,12 +649,7 @@
                               'modes': data['modes']})
 
         add_stylesheet(req, 'common/css/report.css')
-        if __version__ > '0.12':
-            # >= Trac 0.12.1
-            add_script(req, 'common/js/query.js')
-        else:
-            # only Trac 0.12, not compatible with Trac 0.11.x
-            add_script(req, 'tc/js/query.js')
+        add_script(req, 'tc/js/query.js')
 
         return 'gantt.html', data, None
 

Ticket History (2/2 Histories)

2012-07-16 08:18 Updated by: None
  • New Ticket "PATCH improve compatibility with Trac > 0.12.3" created
2013-04-26 22:29 Updated by: jun66j5
  • Resolución Update from Ninguno to Fixed
  • Estado Update from Open to Cerrado
  • Ticket Close date is changed to 2013-04-26 22:29
Comentario

Fixed in r834 to use pkg_resources.parse_version for comparion of the versions. Thanks for your reporting.

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Entrar