Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8776 closed defect (duplicate)

erreur repoprting trac 0.10.4

Reported by: raafet.dormok@… Owned by:
Priority: highest Milestone:
Component: ticket system Version: 0.10.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

J'ai rajouté la notion de reporting par groupe à un ensemble de user sur trac ver 0.10.4. (OS solaris SPARC 10) j'ai enlevé à ce groupe la permission view ticket et tout marche bien sauf que la requette suivante ne marche pas ce mmême groupe alors que pour les autres ayant le droit de view ticket ça marche: reporting (nouveau):

select id, summary, component, milestone, owner, version, 
  (select max(tc.time) from ticket_change tc
     where t.id = tc.ticket) as Date_modif, 
     datetime((select max(tc.time) from ticket_change tc
     where t.id = tc.ticket), 'unixepoch', 'localtime') as date_modification, 
  datetime(time, 'unixepoch', 'localtime') as Date_Creation
  from ticket t
where date_modif > strftime('%s',datetime("now","-1 days"))+0
 order by Date_modif;

log python:

Python Traceback
Traceback (most recent call last):
  File "/opt/csw/lib/python/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/opt/csw/lib/python/site-packages/trac/web/main.py", line 240, in dispatch
    *resp)
  File "/opt/csw/lib/python/site-packages/trac/web/main.py", line 269, in _post_process_request
    content_type)
  File "build/bdist.solaris-2.10-sun4u/egg/privatetickets/report.py", line 35, in post_process_request
    id = req.hdf['report.items.%s.ticket'%i]
  File "/opt/csw/lib/python/site-packages/trac/web/clearsilver.py", line 157, in __getitem__
    raise KeyError, name
KeyError: 'report.items.0.tic

merci d'avance de me fournir une réponse dans les meilleurs délais

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 15 years ago

Non.

comment:2 by Christian Boos, 15 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

More elaborate answer:

  • Please refrain from posting in your national language on web sites meant to be used globally; chances are that no one will even understand what you're asking for (and if I may say, your ticket is not even clear for french speaking people)
  • Also, when reporting an error in a Trac bugtracker, please make use of WikiFormatting as appropriate, in particular for using {{{...}}} blocks (see the diff of my edits),
  • Trac 0.10.x is not supported anymore; even if someone provides a patch to fix an issue, chances are that we won't apply it anymore; Trac 0.11 is the stable version for more than one year and 0.12 is being worked on,
  • There was already duplicate reports for this problem, see #6285
  • The above shows it's actually a PluginIssue (i.e. not maintained here),
  • Finally, asking for a timely answer ("dans les meilleurs délais") on an Open Source project is a good recipe to get bashed ;-)

Hope you can take all of the above as constructive criticism that can give you some hints for better interacting with Open Source projects in the future ;-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.